aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-02-14 05:09:56 +0000
committerJoão Valverde <j@v6e.pt>2016-02-14 23:47:43 +0000
commit5066cf86901f8849deb1a79dbe14fec675bb99da (patch)
tree56b46e899946f213b9c8a1fecb2da342f2503bc6 /plugins
parentb846e487ff9d5913a433430383f0c317f0354026 (diff)
Fix format string warnings [-Wformat=]
Change-Id: I266c7d422f6ade965b42a4e2e8dc01966f8eb5f8 Reviewed-on: https://code.wireshark.org/review/13932 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mate/mate_runtime.c2
-rw-r--r--plugins/wimaxasncp/wimaxasncp_dict.l6
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/mate/mate_runtime.c b/plugins/mate/mate_runtime.c
index 1c7f651cbc..d9455c99d1 100644
--- a/plugins/mate/mate_runtime.c
+++ b/plugins/mate/mate_runtime.c
@@ -210,7 +210,7 @@ static mate_gop* new_gop(mate_cfg_gop* cfg, mate_pdu* pdu, gchar* key) {
}
static void adopt_gop(mate_gog* gog, mate_gop* gop) {
- dbg_print (dbg_gog,5,dbg_facility,"adopt_gop: gog=%p gop=%p",gog,gop);
+ dbg_print (dbg_gog,5,dbg_facility,"adopt_gop: gog=%p gop=%p",(void*)gog,(void*)gop);
gop->gog = gog;
gop->next = NULL;
diff --git a/plugins/wimaxasncp/wimaxasncp_dict.l b/plugins/wimaxasncp/wimaxasncp_dict.l
index 3953f1fe96..cec21a0eed 100644
--- a/plugins/wimaxasncp/wimaxasncp_dict.l
+++ b/plugins/wimaxasncp/wimaxasncp_dict.l
@@ -274,7 +274,7 @@ since_attr since=\042
for (e = ents.next; e; e = e->next) {
if (strcmp(e->name,yytext) == 0) {
yyin = wimaxasncp_dict_open(sys_dir,e->file);
- D(("entity: %s filename: %s yyin: %p\n",e->name,e->file,yyin));
+ D(("entity: %s filename: %s yyin: %p\n",e->name,e->file,(void*)yyin));
if (!yyin) {
yyterminate();
} else {
@@ -298,7 +298,7 @@ since_attr since=\042
if (!yyin) yyterminate();
fclose(yyin);
- D(("closing: %p %i\n",yyin,include_stack_ptr));
+ D(("closing: %p %i\n",(void*)yyin,include_stack_ptr));
if ( --include_stack_ptr < 0 ) {
D(("DONE READING\n"));
@@ -600,7 +600,7 @@ static FILE *wimaxasncp_dict_open(
fh = ws_fopen(fname,"r");
- D(("fname: %s fh: %p\n",fname,fh));
+ D(("fname: %s fh: %p\n",fname,(void*)fh));
g_free(fname);