summaryrefslogtreecommitdiff
path: root/cpp/src/slice2html/Main.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2017-01-11 17:48:15 -0500
committerBernard Normier <bernard@zeroc.com>2017-01-11 17:48:15 -0500
commit05485a47ea107737ada8b0941a7a066c6a075f40 (patch)
tree8bf8a5fee750b20a631f02f60e6db21788ecc14f /cpp/src/slice2html/Main.cpp
parentMoved UniquePtr to IceInternal (diff)
downloadice-05485a47ea107737ada8b0941a7a066c6a075f40.tar.bz2
ice-05485a47ea107737ada8b0941a7a066c6a075f40.tar.xz
ice-05485a47ea107737ada8b0941a7a066c6a075f40.zip
Replace NULL by ICE_NULLPTR
Diffstat (limited to 'cpp/src/slice2html/Main.cpp')
-rw-r--r--cpp/src/slice2html/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2html/Main.cpp b/cpp/src/slice2html/Main.cpp
index 012f4bffb61..ae2bfaa75ff 100644
--- a/cpp/src/slice2html/Main.cpp
+++ b/cpp/src/slice2html/Main.cpp
@@ -255,7 +255,7 @@ compile(const vector<string>& argv)
if(preprocess)
{
char buf[4096];
- while(fgets(buf, static_cast<int>(sizeof(buf)), cppHandle) != NULL)
+ while(fgets(buf, static_cast<int>(sizeof(buf)), cppHandle) != ICE_NULLPTR)
{
if(fputs(buf, stdout) == EOF)
{