emfio/source/reader/wmfreader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2f881ca56aee8de4a7e6aae2e4b283625f9ff3e7 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Apr 9 15:28:56 2021 +0200 Commit: Stephan Bergmann <sberg...@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 <sberg...@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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits