[libpeas] Silence a possible overflow warning



commit 567f5da7ddcb024ee72a0bec03a3313230044643
Author: Garrett Regier <alias301 gmail com>
Date:   Fri Mar 18 07:29:43 2011 -0700

    Silence a possible overflow warning

 libpeas/peas-plugin-info-priv.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libpeas/peas-plugin-info-priv.h b/libpeas/peas-plugin-info-priv.h
index c16c741..9160b9b 100644
--- a/libpeas/peas-plugin-info-priv.h
+++ b/libpeas/peas-plugin-info-priv.h
@@ -47,11 +47,11 @@ struct _PeasPluginInfo {
 
   GError *error;
 
-  gint loaded : 1;
+  guint loaded : 1;
   /* A plugin is unavailable if it is not possible to load it
      due to an error loading the plugin module (e.g. for Python plugins
      when the interpreter has not been correctly initializated) */
-  gint available : 1;
+  guint available : 1;
 
   guint builtin : 1;
   guint hidden : 1;



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