summaryrefslogtreecommitdiff
path: root/cad/freecad/files/patch-src_Gui_Application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cad/freecad/files/patch-src_Gui_Application.cpp')
-rw-r--r--cad/freecad/files/patch-src_Gui_Application.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/freecad/files/patch-src_Gui_Application.cpp b/cad/freecad/files/patch-src_Gui_Application.cpp
new file mode 100644
index 000000000000..206937ea3acc
--- /dev/null
+++ b/cad/freecad/files/patch-src_Gui_Application.cpp
@@ -0,0 +1,11 @@
+--- src/Gui/Application.cpp.orig Sat Feb 24 11:48:30 2007
++++ src/Gui/Application.cpp Wed Aug 8 22:09:54 2007
+@@ -675,7 +675,7 @@
+ const char* start = App::Application::Config()["StartWorkbench"].c_str();
+
+ PyObject *key, *value;
+- int pos = 0;
++ Py_ssize_t pos = 0;
+ QStringList wb;
+ // insert all items
+ while (PyDict_Next(_pcWorkbenchDictionary, &pos, &key, &value)) {