]> git.street.me.uk Git - andy/viking.git/blobdiff - src/mapcoord.h
[QA] Fix clang warning: format string is not a string literal
[andy/viking.git] / src / mapcoord.h
index 9f274350b0d65888632e31f4860a1dab9cc2ef77..1b50eda29b2ee4604950e10b3deaafbfb489e57e 100644 (file)
  *
  */
 
-
 #ifndef __MAP_COORD_H
 #define __MAP_COORD_H
 
 #include <glib.h>
 
+G_BEGIN_DECLS
+
 /* common struct to all map types and map layer, to hold info about a
  * particular tile */
 
 typedef struct {
   gint x, y;
   gint z; /* zone or anything else */
-  guint scale;
+  gint scale;
 } MapCoord;
 
+G_END_DECLS
 
 #endif