[Libreoffice-commits] core.git: emfio/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 9 15:08:15 UTC 2021
emfio/source/reader/wmfreader.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2f881ca56aee8de4a7e6aae2e4b283625f9ff3e7
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Apr 9 15:28:56 2021 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Apr 9 17:07:24 2021 +0200
-Werror,-Wformat (clang-cl)
"format specifies type 'unsigned long' but the argument has type 'sal_uInt16'
(aka 'unsigned short')"
Change-Id: Ie5397be90ccb5678a97e7a3a0987b60b38ece4e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113874
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/emfio/source/reader/wmfreader.cxx b/emfio/source/reader/wmfreader.cxx
index 54c871d112e7..f15a6939c660 100644
--- a/emfio/source/reader/wmfreader.cxx
+++ b/emfio/source/reader/wmfreader.cxx
@@ -233,7 +233,7 @@ namespace
// Yes, return a pointer to a static buffer. This is a very
// local debugging output function, so no big deal.
static char buffer[11];
- sprintf(buffer, "0x%08" SAL_PRIxUINT32, nRecType);
+ sprintf(buffer, "0x%08" SAL_PRIxUINT32, sal_uInt32(nRecType));
return buffer;
}
#endif
More information about the Libreoffice-commits
mailing list