diff finch/libgnt/gntwm.c @ 19381:8d9913d9fe5a

Get rid of compile warnings on older glib.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 23 Aug 2007 18:34:31 +0000
parents c8f9584e3221
children 44b4e8bd759b
line wrap: on
line diff
--- a/finch/libgnt/gntwm.c	Thu Aug 23 18:21:44 2007 +0000
+++ b/finch/libgnt/gntwm.c	Thu Aug 23 18:34:31 2007 +0000
@@ -738,7 +738,7 @@
 			print = ch;
 #ifndef NO_WIDECHAR
 			if (wch.chars[0] > 255) {
-				snprintf(unicode, sizeof(unicode), "&#x%x;", wch.chars[0]);
+				snprintf(unicode, sizeof(unicode), "&#x%x;", (unsigned int)wch.chars[0]);
 				print = unicode;
 			}
 #endif