summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/measure-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-01-30 11:27:30 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-01-30 11:27:30 +0000
commitea9f9278b956a270bcef15516b87831f1c6ca8fa (patch)
tree77e66c71c3a12489ed2ca1dd889deb14d5891510 /src/ui/tools/measure-tool.cpp
parentFix for bug 1539704 (Crash when selecting the eraser tool). (diff)
downloadinkscape-ea9f9278b956a270bcef15516b87831f1c6ca8fa.tar.gz
inkscape-ea9f9278b956a270bcef15516b87831f1c6ca8fa.zip
Remove two warnings on compile
(bzr r14627)
Diffstat (limited to 'src/ui/tools/measure-tool.cpp')
-rw-r--r--src/ui/tools/measure-tool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tools/measure-tool.cpp b/src/ui/tools/measure-tool.cpp
index 4d17a7ed5..7ca09b4d1 100644
--- a/src/ui/tools/measure-tool.cpp
+++ b/src/ui/tools/measure-tool.cpp
@@ -1218,9 +1218,9 @@ void MeasureTool::showCanvasItems(bool to_guides, bool to_item, Inkscape::XML::N
if(to_guides) {
gchar *cross_number;
if (!prefs->getBool("/tools/measure/ignore_1st_and_last", true)) {
- cross_number= g_strdup_printf(_("Crossing %d"), idx);
+ cross_number= g_strdup_printf(_("Crossing %lu"), idx);
} else {
- cross_number= g_strdup_printf(_("Crossing %d"), idx + 1);
+ cross_number= g_strdup_printf(_("Crossing %lu"), idx + 1);
}
if (!prefs->getBool("/tools/measure/ignore_1st_and_last", true) && idx == 0) {
setGuide(desktop->doc2dt(intersections[idx]), angle + Geom::deg_to_rad(90), "");