diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-03-16 08:52:09 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-03-16 08:52:09 +0000 |
commit | 5a85b7fed2eb804db57cde3c851a12088cc60ee7 (patch) | |
tree | 80e3d37b1fe7dc5176b11794585f29346fbc0477 /epan/dtd_preparse.l | |
parent | 27744ecc2d9925491e5ef8cc97e41d551efc6a2e (diff) |
[-Wmissing-prototypes]
Use explicit casts.
svn path=/trunk/; revision=48338
Diffstat (limited to 'epan/dtd_preparse.l')
-rw-r--r-- | epan/dtd_preparse.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l index 4265538ded..087706fa19 100644 --- a/epan/dtd_preparse.l +++ b/epan/dtd_preparse.l @@ -169,7 +169,7 @@ static const gchar* replace_entity(gchar* entity) { *entity = '%'; - replacement = g_hash_table_lookup(entities,entity); + replacement = (GString*)g_hash_table_lookup(entities,entity); if (replacement) { return replacement->str; @@ -192,7 +192,7 @@ static const gchar* location(void) { static gboolean free_gstring_hash_items(gpointer k,gpointer v,gpointer p _U_) { g_free(k); - g_string_free(v,TRUE); + g_string_free((GString*)v,TRUE); return TRUE; } |