* tracebak.c [i386 && sun] (IS_BAD_PTR): Use -1UL in comparison.
From-SVN: r149182
This commit is contained in:
parent
02583d3c94
commit
74c9e8526b
|
@ -1,3 +1,7 @@
|
|||
2009-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* tracebak.c [i386 && sun] (IS_BAD_PTR): Use -1UL in comparison.
|
||||
|
||||
2009-07-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
PR ada/40609
|
||||
|
|
|
@ -298,7 +298,7 @@ struct layout
|
|||
#include <windows.h>
|
||||
#define IS_BAD_PTR(ptr) (IsBadCodePtr((void *)ptr))
|
||||
#elif defined (sun)
|
||||
#define IS_BAD_PTR(ptr) ((unsigned long)ptr == -1)
|
||||
#define IS_BAD_PTR(ptr) ((unsigned long)ptr == -1UL)
|
||||
#else
|
||||
#define IS_BAD_PTR(ptr) 0
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue