From: Michael Beck Date: Wed, 19 Jan 2011 23:24:56 +0000 (+0000) Subject: Fixed wrong type cast spotted by the intel compiler in our portale obstack.h. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=9e62b7a1ebd906078f0247d2270caeb2a48626d5;p=libfirm Fixed wrong type cast spotted by the intel compiler in our portale obstack.h. [r28265] --- 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)))