diff --git a/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C b/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C index b09683034a2e..05b8655af81c 100644 --- a/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C +++ b/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C @@ -5,7 +5,7 @@ const char *tmpdir = theDXApplication->getTmpDirectory(); int tmpdirlen = STRLEN(tmpdir); - if (!tmpdirlen) return FALSE; -+ if (!tmpdirlen) return (char*) FALSE; ++ if (!tmpdirlen) return NULL; if (tmpdir[tmpdirlen-1] == '/') { sprintf(netfilename, "%sdx%d.net", tmpdir, getpid()); sprintf(cfgfilename, "%sdx%d.cfg", tmpdir, getpid());