From 3a144965fa5c2b8cbc3666faf7125e7f02a6c7d5 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 4 Jun 2004 17:52:19 +0000 Subject: [PATCH] Added T_SIZE_T as an alias for T_UINT git-svn-id: svn://svn.cc65.org/cc65/trunk@3090 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/datatype.c | 2 +- src/cc65/datatype.h | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) 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, };