aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-06-11 17:25:57 +0000
committerFred Fish <fnf@specifix.com>1993-06-11 17:25:57 +0000
commitdd577ca5883c92755b34f23a3c41fc171c0f745e (patch)
treec128ce90df7fa655fbad91be33471f92b078928c /gdb/defs.h
parente6fb7139eeb742694bc4cc5010a40d64b225c344 (diff)
downloadgdb-dd577ca5883c92755b34f23a3c41fc171c0f745e.zip
gdb-dd577ca5883c92755b34f23a3c41fc171c0f745e.tar.gz
gdb-dd577ca5883c92755b34f23a3c41fc171c0f745e.tar.bz2
* defs.h (INT_MAX): Cast unsigned shift result to int.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 031f2be..9dae5e7 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -40,7 +40,7 @@ typedef unsigned int CORE_ADDR;
#define STREQ(a,b) (*(a) == *(b) ? !strcmp ((a), (b)) : 0)
#define STREQN(a,b,c) (*(a) == *(b) ? !strncmp ((a), (b), (c)) : 0)
-/* The character C++ uses to build identifiers that must be unique from
+/* The character GNU C++ uses to build identifiers that must be unique from
the program's identifiers (such as $this and $$vptr). */
#define CPLUS_MARKER '$' /* May be overridden to '.' for SysV */
@@ -438,7 +438,7 @@ enum val_prettyprint
#endif
#if !defined (INT_MAX)
-#define INT_MAX (UINT_MAX >> 1) /* 0x7FFFFFFF for 32-bits */
+#define INT_MAX ((int)(UINT_MAX >> 1)) /* 0x7FFFFFFF for 32-bits */
#endif
#if !defined (INT_MIN)