# HG changeset patch # User mf0102 <0102@gmx.at> # Date 1196010203 -3600 # Node ID 9a7822a4762e7cc201cc1e78d00e57401bacd3c2 # Parent a509498d76b988fb55028b8759239269c8cccf60 fix warnings diff -r a509498d76b9 -r 9a7822a4762e src/evdev-plug/ed_internals.c --- a/src/evdev-plug/ed_internals.c Sun Nov 25 17:47:11 2007 +0100 +++ b/src/evdev-plug/ed_internals.c Sun Nov 25 18:03:23 2007 +0100 @@ -318,6 +318,8 @@ } break; } + default: + ; } return TRUE; @@ -414,11 +416,11 @@ submatch[3].rm_eo - submatch[3].rm_so ); /* let's check if the filename actually exists in /dev */ - g_string_printf( device_test , "/dev/input/%s" , device_file->str ); + g_string_printf( device_test , "/dev/input/%s" , (char*)device_file->str ); if ( !g_file_test( device_test->str , G_FILE_TEST_EXISTS ) ) { /* it doesn't exist, mark as invalid device by nullifying device_file*/ - g_warning( _("event-device-plugin: device %s not found in /dev/input , skipping.\n") , device_file ); + g_warning( _("event-device-plugin: device %s not found in /dev/input , skipping.\n") , (char*)device_file ); g_string_free( device_file , TRUE ); device_file = NULL; }