Save us 35 warnings about hooks_register_hook() return checks.
[claws.git] / src / plugins / attachwarner / attachwarner.c
index 7ada74b13a3ed92fcbf572cd892e2e2b27a2617c..3f782f5be469ba1fa0c497d4758f9b1ea12e9470 100644 (file)
@@ -248,7 +248,7 @@ gint plugin_init(gchar **error)
        hook_id = hooks_register_hook(COMPOSE_CHECK_BEFORE_SEND_HOOKLIST, 
                                      attwarn_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;
        }