Fixed a couple of warnings.

This commit is contained in:
Owen Taylor
1998-05-13 03:28:04 +00:00
parent 6c6b244015
commit 0b1b179e45
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
{

View File

@@ -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)