From: uz Date: Mon, 15 Aug 2011 16:08:15 +0000 (+0000) Subject: Change the type of the line number from unsigned long to unsigned since the X-Git-Tag: V2.13.3~295 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da307b9a1384b1ef1f7992db70967184b4a2a917;p=cc65 Change the type of the line number from unsigned long to unsigned since the tools won't run on a 16 bit platform anyway. And if so, line numbers limited to 65535 are probably the least problem. git-svn-id: svn://svn.cc65.org/cc65/trunk@5167 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/filepos.h b/src/common/filepos.h index b9b2e4024..73179ccd5 100644 --- a/src/common/filepos.h +++ b/src/common/filepos.h @@ -47,9 +47,9 @@ /* Type of a file position */ typedef struct FilePos FilePos; struct FilePos { - unsigned long Line; /* Line */ - unsigned Col; /* Column */ - unsigned Name; /* File */ + unsigned Line; /* Line */ + unsigned Col; /* Column */ + unsigned Name; /* File */ }; /* Initializer for a FilePos */