summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alk@tut.by>2015-10-04 18:26:59 -0700
committerAliaksey Kandratsenka <alkondratenko@gmail.com>2015-10-05 21:05:43 -0700
commit7ce74080347003c3e0c0f0565e91894466e7e146 (patch)
treefb717b6581adcc74c2b207c5286537f8c6925fce
parent6627f9217d8897b297c6da038cfbcff6a3086cfa (diff)
downloadgperftools-7ce74080347003c3e0c0f0565e91894466e7e146.tar.gz
fixed clang warning about shifting negative values
-rw-r--r--src/base/basictypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/basictypes.h b/src/base/basictypes.h
index 997f12c..9c930a0 100644
--- a/src/base/basictypes.h
+++ b/src/base/basictypes.h
@@ -83,7 +83,7 @@ const int64 kint64max = ( ((( int64) kint32max) << 32) | kuint32max );
const int8 kint8min = ( ( int8) 0x80);
const int16 kint16min = ( ( int16) 0x8000);
const int32 kint32min = ( ( int32) 0x80000000);
-const int64 kint64min = ( ((( int64) kint32min) << 32) | 0 );
+const int64 kint64min = ( (((uint64) kint32min) << 32) | 0 );
// Define the "portable" printf and scanf macros, if they're not
// already there (via the inttypes.h we #included above, hopefully).