|
|
|
|
@ -1,15 +1,6 @@
|
|
|
|
|
--- src/utils/misc.cpp.orig Wed Jul 23 12:27:49 2003
|
|
|
|
|
+++ src/utils/misc.cpp Sat Jul 26 10:09:57 2003
|
|
|
|
|
@@ -128,7 +128,7 @@
|
|
|
|
|
wxString NumToStr(OID value)
|
|
|
|
|
{
|
|
|
|
|
wxString result;
|
|
|
|
|
- result.Printf(wxT("%u"), (long)value);
|
|
|
|
|
+ result.Printf(wxT("%lu"), (unsigned long)value);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -379,9 +379,9 @@
|
|
|
|
|
--- /ltmp/thl/openpkg/pgadmin3-0.9.3/src/utils/misc.cpp.orig 2003-09-16 10:11:47.000000000 +0200
|
|
|
|
|
+++ /ltmp/thl/openpkg/pgadmin3-0.9.3/src/utils/misc.cpp 2003-09-16 10:12:28.000000000 +0200
|
|
|
|
|
@@ -417,9 +417,9 @@
|
|
|
|
|
{
|
|
|
|
|
str=wxString(' ', nLen);
|
|
|
|
|
if (format)
|
|
|
|
|
@ -18,6 +9,6 @@
|
|
|
|
|
else
|
|
|
|
|
- wxConvLibc.MB2WC((wxChar*)str.c_str(), buf, nLen);
|
|
|
|
|
+ wxConvLibc.MB2WC((wchar_t*)(str.c_str()), buf, nLen);
|
|
|
|
|
|
|
|
|
|
str.Replace(wxT("\r"), wxT(""));
|
|
|
|
|
}
|
|
|
|
|
#else
|
|
|
|
|
|