]> git.pld-linux.org Git - packages/dx.git/blobdiff - dx-conversion.patch
- fixed more C++ issues (added narrowing,conversion patches)
[packages/dx.git] / dx-conversion.patch
diff --git a/dx-conversion.patch b/dx-conversion.patch
new file mode 100644 (file)
index 0000000..1ab04b7
--- /dev/null
@@ -0,0 +1,11 @@
+--- dx-4.4.4/src/uipp/dxuilib/EditorWindow.C.orig      2018-05-16 05:56:15.975434667 +0200
++++ dx-4.4.4/src/uipp/dxuilib/EditorWindow.C   2018-05-16 05:56:19.555623422 +0200
+@@ -5997,7 +5997,7 @@
+     //
+     const char *tmpdir = theDXApplication->getTmpDirectory();
+     int tmpdirlen = STRLEN(tmpdir);
+-    if (!tmpdirlen) return FALSE;
++    if (!tmpdirlen) return NUL(char*);
+     if (tmpdir[tmpdirlen-1] == '/') {
+       sprintf(netfilename, "%sdx%d.net", tmpdir, getpid());
+       sprintf(cfgfilename, "%sdx%d.cfg", tmpdir, getpid());
This page took 0.060674 seconds and 4 git commands to generate.