]> git.sur5r.net Git - cc65/commitdiff
Make the Name and Col fields unsigned instead of short.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 12 Nov 2010 14:14:27 +0000 (14:14 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 12 Nov 2010 14:14:27 +0000 (14:14 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4850 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/common/filepos.h

index 9dbaa1914b7b3eea3948dd11fa0574a9a86627fb..e84ebbba05845172f5870ca6012ade76ceb53d88 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                filepos.h                                 */
+/*                                 filepos.h                                */
 /*                                                                           */
-/*                      File position data structure                        */
+/*                       File position data structure                       */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
@@ -39,7 +39,7 @@
 
 
 /*****************************************************************************/
-/*                                          Data                                    */
+/*                                          Data                                    */
 /*****************************************************************************/
 
 
@@ -47,9 +47,9 @@
 /* Type of a file position */
 typedef struct FilePos FilePos;
 struct FilePos {
-    unsigned long   Line;              /* Line */
-    unsigned short  Col;               /* Column */
-    unsigned short  Name;              /* File */
+    unsigned long   Line;               /* Line */
+    unsigned        Col;                /* Column */
+    unsigned        Name;               /* File */
 };
 
 /* Initializer for a FilePos */
@@ -58,7 +58,7 @@ struct FilePos {
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                          Code                                    */
 /*****************************************************************************/