fix compiler warning
authorRobin Gareus <robin@gareus.org>
Thu, 11 Jul 2013 13:44:35 +0000 (15:44 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 11 Jul 2013 18:39:24 +0000 (20:39 +0200)
libs/gtkmm2ext/gtkmm2ext/dndvbox.h

index bc5ca6c7255dbef61a2272cd7574f97e32e400f7..bbfd183c7bbaea3b2dc612f0fa0f110d25de5818 100644 (file)
@@ -351,7 +351,7 @@ private:
 
                        /* dropped from ourselves onto ourselves */
 
-                       T* child = *((T **) selection_data.get_data());
+                       T* child = *((T * const *) selection_data.get_data());
 
                        if (drop.first == 0) {
                                _internal_vbox.reorder_child (child->widget(), -1);