diff --git a/src/cc65/datatype.c b/src/cc65/datatype.c index 1c17c2796..0cbac19af 100644 --- a/src/cc65/datatype.c +++ b/src/cc65/datatype.c @@ -63,7 +63,7 @@ type type_uint [] = { T_UINT, T_END }; type type_long [] = { T_LONG, T_END }; type type_ulong [] = { T_ULONG, T_END }; type type_void [] = { T_VOID, T_END }; -type type_size_t [] = { T_UINT, T_END }; +type type_size_t [] = { T_SIZE_T, T_END }; diff --git a/src/cc65/datatype.h b/src/cc65/datatype.h index 76bd018e1..f921a8e45 100644 --- a/src/cc65/datatype.h +++ b/src/cc65/datatype.h @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 1998-2002 Ullrich von Bassewitz */ -/* Wacholderweg 14 */ -/* D-70597 Stuttgart */ -/* EMail: uz@musoftware.de */ +/* (C) 1998-2004 Ullrich von Bassewitz */ +/* Römerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -128,6 +128,8 @@ enum { T_PTR = T_TYPE_PTR | T_CLASS_PTR | T_SIGN_NONE | T_SIZE_NONE, T_FUNC = T_TYPE_FUNC | T_CLASS_FUNC | T_SIGN_NONE | T_SIZE_NONE, + /* Aliases */ + T_SIZE_T = T_UINT, };