comparison 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
comparison
equal deleted inserted replaced
19380:e28db9ae02b3 19381:8d9913d9fe5a
736 bg.r, bg.g, bg.b, fg.r, fg.g, fg.b); 736 bg.r, bg.g, bg.b, fg.r, fg.g, fg.b);
737 } 737 }
738 print = ch; 738 print = ch;
739 #ifndef NO_WIDECHAR 739 #ifndef NO_WIDECHAR
740 if (wch.chars[0] > 255) { 740 if (wch.chars[0] > 255) {
741 snprintf(unicode, sizeof(unicode), "&#x%x;", wch.chars[0]); 741 snprintf(unicode, sizeof(unicode), "&#x%x;", (unsigned int)wch.chars[0]);
742 print = unicode; 742 print = unicode;
743 } 743 }
744 #endif 744 #endif
745 if (now & A_ALTCHARSET) 745 if (now & A_ALTCHARSET)
746 { 746 {