use the right return type of update_pref(), to prevent a warning
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 23 Jul 2007 20:12:18 +0000 (20:12 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 23 Jul 2007 20:12:18 +0000 (20:12 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22388 f5534014-38df-0310-8fa8-9805f1628bb7

update.c

index 7e1b542e4ac5112d2a38e829889293e0f1571f81..4296d4c35350da7bfdca2ab9e52fa1a6692d081b 100644 (file)
--- a/update.c
+++ b/update.c
@@ -159,7 +159,7 @@ update_pref_check(gchar *pref_name, gchar *value, char *check_prefix, char *chec
 }\r
 \r
 /* a new key value pair from the update file */\r
-static int\r
+static prefs_set_pref_e\r
 update_pref(gchar *pref_name, gchar *value, void *private_data)\r
 {\r
     update_info_t *update_info = private_data;\r