[Libreoffice-commits] core.git: desktop/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Sun Jan 24 09:03:52 UTC 2021


 desktop/source/app/crashreport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3c9f8e5d9740186aa57f9a6b8c867fcc7948353b
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jan 22 15:11:26 2021 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sun Jan 24 10:03:15 2021 +0100

    -Werror,-Wsign-compare (clang-cl)
    
    Change-Id: I887d8bc4554880ca826259c8f9b30aaa3b41ec1d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109820
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx
index a9f74b87e259..82300fa19ddc 100644
--- a/desktop/source/app/crashreport.cxx
+++ b/desktop/source/app/crashreport.cxx
@@ -314,7 +314,7 @@ void CrashReporter::writeSystemInfo()
     // and https://en.wikipedia.org/wiki/CPUID .
     int cpui[ 4 ];
     __cpuid( cpui, 0x80000000 ); // Get the highest extended ID.
-    int exIds = cpui[ 0 ];
+    unsigned int exIds = cpui[ 0 ];
     if( exIds >= 0x80000004 )
     {
         int brand[ 16 ];


More information about the Libreoffice-commits mailing list