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));