]> git.sur5r.net Git - cc65/commitdiff
Change the type of the line number from unsigned long to unsigned since the
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 15 Aug 2011 16:08:15 +0000 (16:08 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 15 Aug 2011 16:08:15 +0000 (16:08 +0000)
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

src/common/filepos.h

index b9b2e402437e94fcad7f2a8c89532cc3f0c07aaf..73179ccd52441230a5c7ebe7ad52cb65c91f9663 100644 (file)
@@ -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 */