summaryrefslogtreecommitdiff
path: root/nuttx/examples/nxflat/tests/hello++/hello++3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/examples/nxflat/tests/hello++/hello++3.cpp')
-rw-r--r--nuttx/examples/nxflat/tests/hello++/hello++3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/examples/nxflat/tests/hello++/hello++3.cpp b/nuttx/examples/nxflat/tests/hello++/hello++3.cpp
index b41d09664..236f5def0 100644
--- a/nuttx/examples/nxflat/tests/hello++/hello++3.cpp
+++ b/nuttx/examples/nxflat/tests/hello++/hello++3.cpp
@@ -74,7 +74,7 @@ static CThingSayer MyThingSayer;
CThingSayer::CThingSayer(void)
{
printf("CThingSayer::CThingSayer: I am!\n");
- szWhatToSay = NULL;
+ szWhatToSay = (const char*)NULL;
}
CThingSayer::~CThingSayer(void)
@@ -85,7 +85,7 @@ CThingSayer::~CThingSayer(void)
printf("CThingSayer::~CThingSayer: I will never say '%s' again\n",
szWhatToSay);
}
- szWhatToSay = NULL;
+ szWhatToSay = (const char*)NULL;
}
void CThingSayer::Initialize(const char *czSayThis)