GNOME Bugzilla – Bug 356602
const cast warning fixes for libvte
Last modified: 2006-11-16 19:46:25 UTC
This patch fixes a few warnings mostly related to invalid casts.
Created attachment 72995 [details] [review] fix.
Apart from an unnecessary «if (wrapped)» guarding a «g_free (wrapped)», this looks ok to me. Can I commit this, Behdad?
Go for it Mariano!
Fixed in HEAD. 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org> Bug 356602 – const cast warning fixes for libvte Patch by Ryan Lortie (desrt) * src/matcher.h: Use const char * where appropriate. * src/matcher.c: Use const char * where appropriate. Cast g_strdup to (GCacheDupFunc) to avoid a warning. * src/vtetc.h: Use const char * where appropriate. * src/vtetc.c: Use const char * where appropriate. Cast g_strdup to (GCacheDupFunc) to avoid a warning. * src/vte.c: Use const char * where appropriate.