mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-17 03:07:24 -05:00
char * pEnd build bugfix;
This commit is contained in:
@@ -71,6 +71,8 @@ struct stat st = {0};
|
|||||||
char wav_file_directory[1024] = {0};
|
char wav_file_directory[1024] = {0};
|
||||||
unsigned long long int p2vars = 0;
|
unsigned long long int p2vars = 0;
|
||||||
|
|
||||||
|
char * pEnd; //bugfix
|
||||||
|
|
||||||
void
|
void
|
||||||
noCarrier (dsd_opts * opts, dsd_state * state)
|
noCarrier (dsd_opts * opts, dsd_state * state)
|
||||||
{
|
{
|
||||||
@@ -1061,7 +1063,7 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
case 'H':
|
case 'H':
|
||||||
//new handling for 10/32/64 Char Key
|
//new handling for 10/32/64 Char Key
|
||||||
char * pEnd;
|
|
||||||
strncpy(opts.szNumbers, optarg, 1023);
|
strncpy(opts.szNumbers, optarg, 1023);
|
||||||
opts.szNumbers[1023] = '\0';
|
opts.szNumbers[1023] = '\0';
|
||||||
state.K1 = strtoull (opts.szNumbers, &pEnd, 16);
|
state.K1 = strtoull (opts.szNumbers, &pEnd, 16);
|
||||||
|
|||||||
Reference in New Issue
Block a user