If i try to create a codeblocks plugin with my codeblocks wx31_64 on windows i get multiple asserts because of wrong format specifier...
this patch should fix it. Can someone test this on linux?
Index: src/sdk/scripting/bindings/sc_wxtypes.cpp
===================================================================
--- src/sdk/scripting/bindings/sc_wxtypes.cpp (revision 11914)
+++ src/sdk/scripting/bindings/sc_wxtypes.cpp (working copy)
@@ -136,7 +136,7 @@
if (sa.GetType(2) == OT_INTEGER)
{
#ifdef _SQ64
- result.Printf(_T("%s%ld"), str1.c_str(), sa.GetInt(2));
+ result.Printf(_T("%s%I64d"), str1.c_str(), sa.GetInt(2));
#else
result.Printf(_T("%s%d"), str1.c_str(), sa.GetInt(2));
#endif