Commit 74c9e852 by Rainer Orth Committed by Rainer Orth

* tracebak.c [i386 && sun] (IS_BAD_PTR): Use -1UL in comparison.

From-SVN: r149182
parent 02583d3c
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment