* Source/NSBitmapImageRep+ICNS.m: Redefine icns_size_t to int, as

this needs to be a 32 bit integer and on 64 bit systems long
  uses 64 bits.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28501 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2009-08-21 13:57:16 +00:00
parent 5b293ad771
commit bf8446462b
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2009-08-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBitmapImageRep+ICNS.m: Redefine icns_size_t to int, as
this needs to be a 32 bit integer and on 64 bit systems long uses
64 bits.
2009-08-19 00:57-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSTextView.m: Don't add the text storage if it's nil

View file

@ -55,7 +55,8 @@
*/
typedef unsigned char icns_byte_t;
typedef unsigned long icns_size_t;
// must be a 32 bit integer
typedef unsigned int icns_size_t;
typedef struct _icns_type_t {
char c[4];
} icns_type_t;