diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-06-26 10:23:39 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-06-26 10:23:39 +0000 |
commit | 1c897f05591bd00fe57761ce0d9d0a34880a1878 (patch) | |
tree | bc96b0b95c6b3fb92e68815579ba92dc94992bc7 /gtk/main.c | |
parent | f7ceac2ff7aaee3a8aae27e0ff52b0f5df910ad3 (diff) |
remove compiler warnings:
main.c(345) : warning C4090: 'function' : different 'const' qualifiers
main.c(345) : warning C4022: 'simple_dialog_set_cb' : pointer mismatch for actual parameter 3
svn path=/trunk/; revision=14764
Diffstat (limited to 'gtk/main.c')
-rw-r--r-- | gtk/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/main.c b/gtk/main.c index e878a6c26d..edab8e4740 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -342,7 +342,7 @@ selected_ptree_info_cb(GtkWidget *widget _U_, gpointer data _U_) "Hint 2: If you want to add a new protocol page, you should use the ProtocolTemplate,\n" "which will save you a lot of editing and will give a consistent look over the pages.", proto_abbrev, proto_abbrev); - simple_dialog_set_cb(dialog, selected_ptree_info_answered_cb, proto_abbrev); + simple_dialog_set_cb(dialog, selected_ptree_info_answered_cb, (gpointer) proto_abbrev); } } |