]> git.sur5r.net Git - cc65/blobdiff - src/common/filepos.h
Make the Name and Col fields unsigned instead of short.
[cc65] / 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                                    */
 /*****************************************************************************/