From 9e62b7a1ebd906078f0247d2270caeb2a48626d5 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 19 Jan 2011 23:24:56 +0000 Subject: [PATCH] Fixed wrong type cast spotted by the intel compiler in our portale obstack.h. [r28265] --- include/libfirm/adt/obstack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libfirm/adt/obstack.h b/include/libfirm/adt/obstack.h index 217969b13..973db8412 100644 --- a/include/libfirm/adt/obstack.h +++ b/include/libfirm/adt/obstack.h @@ -495,7 +495,7 @@ __extension__ \ ( (h)->temp.tempint = (char *) (obj) - (char *) (h)->chunk, \ ((((h)->temp.tempint > 0 \ && (h)->temp.tempint < (h)->chunk_limit - (char *) (h)->chunk)) \ - ? (int) ((h)->next_free = (h)->object_base \ + ? (PTR_INT_TYPE) ((h)->next_free = (h)->object_base \ = (h)->temp.tempint + (char *) (h)->chunk) \ : (((obstack_free) ((h), (h)->temp.tempint + (char *) (h)->chunk), 0), 0))) -- 2.20.1