diff options
Diffstat (limited to 'src/devices/cpu/tms32025/dis32025.cpp')
-rw-r--r-- | src/devices/cpu/tms32025/dis32025.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/tms32025/dis32025.cpp b/src/devices/cpu/tms32025/dis32025.cpp index 212c5339627..6df4b92707a 100644 --- a/src/devices/cpu/tms32025/dis32025.cpp +++ b/src/devices/cpu/tms32025/dis32025.cpp @@ -50,12 +50,12 @@ int main(int argc,char *argv[]) argv++; argc--; if (argv[1]) { - offset = strtol(argv[1],NULL,0); + offset = strtol(argv[1],nullptr,0); argv++; argc--; } if (argv[1]) { - length = strtol(argv[1],NULL,0); + length = strtol(argv[1],nullptr,0); argv++; argc--; } @@ -69,14 +69,14 @@ int main(int argc,char *argv[]) length_to_dump = length; printf("Starting from %d, dumping %d opcodes (word size)\n",offset,length/2); Buffer = calloc((filelength+1),sizeof(char)); - if (Buffer==NULL) + if (Buffer==nullptr) { printf("Out of Memory !!!"); fclose(F); exit(3); } String_Output = calloc(80,sizeof(char)); - if (String_Output==NULL) + if (String_Output==nullptr) { printf("Out of Memory !!!"); free(Buffer); |