summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms32025
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-04-24 15:15:04 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-04-24 15:38:49 +0200
commit96d123b42c87007222bb545878cdef0116b60885 (patch)
treea611581b57d4debe784f1134a3de95426a7ba592 /src/devices/cpu/tms32025
parentc2c22570779f69e6921499b7abeb75f6db3d7822 (diff)
NULL->nullptr, instead of DEVCB_NULL use always DEVCB_NOOP to prevent confusion (nw)
Diffstat (limited to 'src/devices/cpu/tms32025')
-rw-r--r--src/devices/cpu/tms32025/dis32025.cpp8
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);