Author: ArcRiley Date: 2009-01-12 01:26:14 -0500 (Mon, 12 Jan 2009) New Revision: 1471
Modified: trunk/concordance/src/Core.c trunk/concordance/src/utils.c Log: small fixes found thanks to Ubuntu Modified: trunk/concordance/src/Core.c =================================================================== --- trunk/concordance/src/Core.c 2009-01-12 03:47:29 UTC (rev 1470) +++ trunk/concordance/src/Core.c 2009-01-12 06:26:14 UTC (rev 1471) @@ -538,7 +538,7 @@ static void conCore_sessionSend(conSession* session, gchar* str, gint len) { /*\ cdef : \*/ - gint sent; + guint sent; /* make sure the session write buffer is empty first */ if (session->wbuff->len == 0) { @@ -869,7 +869,7 @@ cdef : \*/ conCoreObject* self = (conCoreObject*) s; conSession* session; - gint sent; + guint sent; /* get session from hashtable Modified: trunk/concordance/src/utils.c =================================================================== --- trunk/concordance/src/utils.c 2009-01-12 03:47:29 UTC (rev 1470) +++ trunk/concordance/src/utils.c 2009-01-12 06:26:14 UTC (rev 1471) @@ -125,7 +125,7 @@ uni = PyUnicode_AsUnicode(unicode); len = PyUnicode_GetSize(unicode); #if Py_UNICODE_SIZE == 2 - return g_utf16_to_utf8((gunichar*) uni, len, NULL, NULL, NULL); + return g_utf16_to_utf8((gunichar2*) uni, len, NULL, NULL, NULL); #else return g_ucs4_to_utf8((gunichar*) uni, len, NULL, NULL, NULL); #endif _______________________________________________ PySoy-SVN mailing list PySoy-SVN@pysoy.org http://www.pysoy.org/mailman/listinfo/pysoy-svn