Save us 35 warnings about hooks_register_hook() return checks.
[claws.git] / src / plugins / address_keeper / address_keeper.c
index d85d949cc4cb28387e79b4a30817b5d31f91958c..c85b6fb923eef2a5f138b6abbe61d2a0bda4273d 100644 (file)
@@ -248,7 +248,7 @@ gint plugin_init(gchar **error)
        hook_id = hooks_register_hook(COMPOSE_CHECK_BEFORE_SEND_HOOKLIST, 
                                      addrk_before_send_hook, NULL);
        
-       if (hook_id == -1) {
+       if (hook_id == (guint) -1) {
                *error = g_strdup(_("Failed to register check before send hook"));
                return -1;
        }