From 4e09cc66e27c8b053468e6747874a4e26dd7a325 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 30 Apr 2017 12:00:13 +0200 Subject: [PATCH] DataTranslations: try to fix x86_64 build. --- src/preferences/datatranslations/DataTranslationsWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/preferences/datatranslations/DataTranslationsWindow.cpp b/src/preferences/datatranslations/DataTranslationsWindow.cpp index f5e5113053..9252226788 100644 --- a/src/preferences/datatranslations/DataTranslationsWindow.cpp +++ b/src/preferences/datatranslations/DataTranslationsWindow.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014, Haiku, Inc. + * Copyright 2002-2017, Haiku, Inc. * Distributed under the terms of the MIT license. * * Authors: @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -307,7 +308,7 @@ DataTranslationsWindow::_ShowInfoAlert(int32 id) offsets[1] = message.Length(); // Convert the version number into a readable format - temp.SetToFormat("%s %ld.%ld.%ld\n\n", labels[1], + temp.SetToFormat("%s %" B_PRId32 ".%" B_PRId32 ".%" B_PRId32 "\n\n", labels[1], B_TRANSLATION_MAJOR_VERSION(version), B_TRANSLATION_MINOR_VERSION(version), B_TRANSLATION_REVISION_VERSION(version));