[seahorse] build: Don't suppress some warnings



commit 15e0ac0359ad158f1a98ebae3bf51f188821c01c
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Fri Feb 15 07:38:11 2019 +0100

    build: Don't suppress some warnings
    
    Also fix a comparison between signed/unsigned types.

 meson.build               | 2 --
 pgp/seahorse-pgp-subkey.c | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index ea09434e..02eb7365 100644
--- a/meson.build
+++ b/meson.build
@@ -113,8 +113,6 @@ warning_flags = [
   '-Wcast-align',
   '-Wsign-compare',
   '-Wno-deprecated-declarations',
-  '-Wno-strict-aliasing',
-  '-Wno-sign-compare',
 ]
 supported_warning_flags = []
 foreach flag : warning_flags
diff --git a/pgp/seahorse-pgp-subkey.c b/pgp/seahorse-pgp-subkey.c
index 7caf3eab..53c1d4f4 100644
--- a/pgp/seahorse-pgp-subkey.c
+++ b/pgp/seahorse-pgp-subkey.c
@@ -295,7 +295,7 @@ seahorse_pgp_subkey_get_usage (SeahorsePgpSubkey *self)
 
        GString *str;
        gboolean previous;
-       int i;
+       uint i;
 
        g_return_val_if_fail (SEAHORSE_PGP_IS_SUBKEY (self), NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]