summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Main.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-09-25 05:03:39 +0000
committerMarc Laukien <marc@zeroc.com>2001-09-25 05:03:39 +0000
commitc10149b31b56984a82c9272349a664cc1f44ef43 (patch)
tree52c30436baecb356b7333a53a8f670a7e68a42db /cpp/src/slice2cpp/Main.cpp
parentfixes (diff)
downloadice-c10149b31b56984a82c9272349a664cc1f44ef43.tar.bz2
ice-c10149b31b56984a82c9272349a664cc1f44ef43.tar.xz
ice-c10149b31b56984a82c9272349a664cc1f44ef43.zip
fixes
Diffstat (limited to 'cpp/src/slice2cpp/Main.cpp')
-rw-r--r--cpp/src/slice2cpp/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Main.cpp b/cpp/src/slice2cpp/Main.cpp
index 6821972421d..d49783f3788 100644
--- a/cpp/src/slice2cpp/Main.cpp
+++ b/cpp/src/slice2cpp/Main.cpp
@@ -175,7 +175,7 @@ main(int argc, char* argv[])
#else
FILE* cppHandle = popen(cmd.c_str(), "r");
#endif
- if (cppHandle == NULL)
+ if (cppHandle == 0)
{
cerr << argv[0] << ": can't run C++ preprocessor: " << strerror(errno) << endl;
return EXIT_FAILURE;