diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-26 06:10:52 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-26 06:10:52 +0000 |
commit | 46b8669566a546d6887d3f82aace2d8dea3608ff (patch) | |
tree | b9f9d98a83bf6452d40eed647a29d2cd21cdfecd /epan/sigcomp_state_hdlr.c | |
parent | 9fe056a3d70bdce224e64536f2fe8869b95e78e9 (diff) |
Fix a bunch more warnings. Add -Werror when using --with-warnings-as-errors
under gcc to tools/lemon, plugins/mate and epan/
svn path=/trunk/; revision=21204
Diffstat (limited to 'epan/sigcomp_state_hdlr.c')
-rw-r--r-- | epan/sigcomp_state_hdlr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/sigcomp_state_hdlr.c b/epan/sigcomp_state_hdlr.c index 26e01f4e10..623b5859bd 100644 --- a/epan/sigcomp_state_hdlr.c +++ b/epan/sigcomp_state_hdlr.c @@ -467,7 +467,7 @@ int udvm_state_access(tvbuff_t *tvb, proto_tree *tree,guint8 *buff,guint16 p_id_ partial_state[n] = buff[p_id_start + n]; n++; } - partial_state_str = bytes_to_str(partial_state, p_id_length); + partial_state_str = bytes_to_str((guint8*)partial_state, p_id_length); proto_tree_add_text(tree,tvb, 0, -1,"### Accessing state ###"); proto_tree_add_string(tree,hf_id, tvb, 0, 0, partial_state_str); @@ -581,7 +581,7 @@ void udvm_state_create(guint8 *state_buff,guint8 *state_identifier,guint16 p_id_ partial_state[i] = state_identifier[i]; i++; } - partial_state_str = bytes_to_str(partial_state, p_id_length); + partial_state_str = bytes_to_str((guint8*)partial_state, p_id_length); dummy_buff = g_hash_table_lookup(state_buffer_table, partial_state_str); if ( dummy_buff == NULL ){ |