Index: third_party/tcmalloc/chromium/src/base/basictypes.h |
diff --git a/third_party/tcmalloc/chromium/src/base/basictypes.h b/third_party/tcmalloc/chromium/src/base/basictypes.h |
index 75b7b5ae777ae06b81ad63aa3912df8b58368aab..5a578fed948b058fd2ac6fd71b724071a5fd6ceb 100644 |
--- a/third_party/tcmalloc/chromium/src/base/basictypes.h |
+++ b/third_party/tcmalloc/chromium/src/base/basictypes.h |
@@ -82,7 +82,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 = (-kint64max - 1LL); |
Primiano Tucci (use gerrit)
2017/04/02 16:49:44
took my a while to figure out why this was defined
Nico
2017/04/02 18:17:54
0xffff is an int literal. 0xffffLL should work, bu
Lei Zhang
2017/04/03 20:51:07
Do we want to file a bug to refresh tcmalloc with
|
// Define the "portable" printf and scanf macros, if they're not |
// already there (via the inttypes.h we #included above, hopefully). |