Fixed a couple of warnings.
This commit is contained in:
@@ -170,7 +170,7 @@ g_string_chunk_insert_const (GStringChunk *fchunk,
|
||||
if (!chunk->const_table)
|
||||
chunk->const_table = g_hash_table_new (g_str_hash, g_str_equal);
|
||||
|
||||
lookup = (char*) g_hash_table_lookup (chunk->const_table, string);
|
||||
lookup = (char*) g_hash_table_lookup (chunk->const_table, (gchar *)string);
|
||||
|
||||
if (!lookup)
|
||||
{
|
||||
|
||||
@@ -359,7 +359,7 @@ gtk_rc_parse_any (const gchar *input_name,
|
||||
}
|
||||
|
||||
for (i = 0; i < nsymbols; i++)
|
||||
g_scanner_add_symbol (scanner, symbols[i].name, (gint) symbols[i].token);
|
||||
g_scanner_add_symbol (scanner, symbols[i].name, (gpointer) symbols[i].token);
|
||||
|
||||
done = FALSE;
|
||||
while (!done)
|
||||
|
||||
Reference in New Issue
Block a user