From 4e525978bae9349b191af2d4dccd7a2a69625449 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 27 Jul 2010 09:16:38 +0000 Subject: [PATCH] * Make linkcatkeys output the fingerprint in decimal in case of error. This makes it easier to match with the one in the catkey file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37766 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/locale/catalogs/plaintext/Catalog.cpp | 2 +- src/tools/locale/PlainTextCatalog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add-ons/locale/catalogs/plaintext/Catalog.cpp b/src/add-ons/locale/catalogs/plaintext/Catalog.cpp index efc9fbd839..57a0cef6aa 100644 --- a/src/add-ons/locale/catalogs/plaintext/Catalog.cpp +++ b/src/add-ons/locale/catalogs/plaintext/Catalog.cpp @@ -277,7 +277,7 @@ PlainTextCatalog::ReadFromFile(const char *path) uint32 checkFP = ComputeFingerprint(); if (fFingerprint != checkFP) { log_team(LOG_DEBUG, "plaintext-catalog(sig=%s, lang=%s) " - "has wrong fingerprint after load (%lX instead of %lX). " + "has wrong fingerprint after load (%lu instead of %lu). " "The catalog data may be corrupted, so this catalog is " "skipped.\n", fSignature.String(), fLanguageName.String(), checkFP, diff --git a/src/tools/locale/PlainTextCatalog.cpp b/src/tools/locale/PlainTextCatalog.cpp index 7abb1bb49e..6a3ae812c1 100644 --- a/src/tools/locale/PlainTextCatalog.cpp +++ b/src/tools/locale/PlainTextCatalog.cpp @@ -231,7 +231,7 @@ PlainTextCatalog::ReadFromFile(const char *path) uint32 checkFP = ComputeFingerprint(); if (fFingerprint != checkFP) { fprintf(stderr, "plaintext-catalog(sig=%s, lang=%s) " - "has wrong fingerprint after load (%X instead of %X). " + "has wrong fingerprint after load (%u instead of %u). " "The catalog data may be corrupted, so this catalog is " "skipped.\n", fSignature.String(), fLanguageName.String(), checkFP,