From 5d04148aad62144fb328cc75f3d0b5e318d48ea8 Mon Sep 17 00:00:00 2001 From: Anuradha Dissanayake Date: Thu, 27 Dec 2012 20:15:32 +1300 Subject: [PATCH] Make gcc happy --- plugins/automaterial.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/automaterial.cpp b/plugins/automaterial.cpp index 9f943774e..430b529f4 100644 --- a/plugins/automaterial.cpp +++ b/plugins/automaterial.cpp @@ -849,7 +849,8 @@ struct jobutils_hook : public df::viewscreen_dwarfmodest void move_cursor(coord32_t &pos) { - move_cursor(df::coord((int16_t) pos.x, (int16_t) pos.y, (int16_t) pos.z)); + df::coord c((int16_t) pos.x, (int16_t) pos.y, (int16_t) pos.z); + move_cursor(c); } void apply_box_selection(bool new_start)