aboutsummaryrefslogtreecommitdiffstats
path: root/update.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2007-07-23 20:12:18 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2007-07-23 20:12:18 +0000
commit4b16fc8ba8ae341e0756f040df84f51068c56140 (patch)
tree049c12438c1223876229f0292d09303a1c856a6f /update.c
parent294d32cec8bd28334512b51fb3dfe56a61361b4a (diff)
use the right return type of update_pref(), to prevent a warning
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22388 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'update.c')
-rw-r--r--update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.c b/update.c
index 7e1b542e4a..4296d4c353 100644
--- a/update.c
+++ b/update.c
@@ -159,7 +159,7 @@ update_pref_check(gchar *pref_name, gchar *value, char *check_prefix, char *chec
}
/* a new key value pair from the update file */
-static int
+static prefs_set_pref_e
update_pref(gchar *pref_name, gchar *value, void *private_data)
{
update_info_t *update_info = private_data;