From 554bf6b380bd7668eb6014167ab6a94fa15bd7e9 Mon Sep 17 00:00:00 2001 From: Per Inge Mathisen Date: Sun, 25 Sep 2011 23:55:24 -0400 Subject: [PATCH] Fix build warnings --- tools/map/map2lnd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/map/map2lnd.cpp b/tools/map/map2lnd.cpp index 1ef598758..bd6b01f11 100644 --- a/tools/map/map2lnd.cpp +++ b/tools/map/map2lnd.cpp @@ -206,7 +206,7 @@ int main(int argc, char **argv) { GATEWAY *psGate = mapGateway(map, i); - MADD(" %hhu %hhu %hhu %hhu", psGate->x1, psGate->y1, psGate->x2, psGate->y2); + MADD(" %u %u %u %u", (unsigned)psGate->x1, (unsigned)psGate->y1, (unsigned)psGate->x2, (unsigned)psGate->y2); } MADD(" }"); MADD("}");