[beast: 10/18] GXK: fix compiler warnings about switch type



commit 9b950d59050ebb608719c8c0b77e25fab91b48f2
Author: Tim Janik <timj gnu org>
Date:   Thu Sep 24 20:35:19 2015 +0200

    GXK: fix compiler warnings about switch type

 beast-gtk/gxk/gxkutils.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/gxk/gxkutils.cc b/beast-gtk/gxk/gxkutils.cc
index d92c127..0fe531f 100644
--- a/beast-gtk/gxk/gxkutils.cc
+++ b/beast-gtk/gxk/gxkutils.cc
@@ -3119,7 +3119,7 @@ gxk_label_set_attributes (GtkLabel *label,
   PangoAttribute *attr  = NULL;
   do
     {
-      PangoAttrType attr_type = (PangoAttrType) va_arg (args, int); // PangoAttrType
+      const int attr_type = va_arg (args, int); // PangoAttrType
 
       switch (attr_type)
         {


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