summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/castool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/castool.cpp')
-rw-r--r--src/tools/castool.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/castool.cpp b/src/tools/castool.cpp
index 22564dcdf78..a6b5c190b72 100644
--- a/src/tools/castool.cpp
+++ b/src/tools/castool.cpp
@@ -121,7 +121,7 @@ const struct SupportedCassetteFormats formats[] = {
- {NULL,NULL,NULL}
+ {nullptr,nullptr,nullptr}
};
@@ -129,9 +129,9 @@ static const char *get_extension(const char *name)
{
const char *s;
s = name;
- if (s != NULL)
+ if (s != nullptr)
s = strrchr(s, '.');
- return s ? s+1 : NULL;
+ return s ? s+1 : nullptr;
}
static void display_usage(void)
@@ -156,7 +156,7 @@ int CLIB_DECL main(int argc, char *argv[])
{
int i;
int found =0;
- const struct CassetteFormat * const *selected_formats = NULL;
+ const struct CassetteFormat * const *selected_formats = nullptr;
cassette_image *cassette;
FILE *f;