]> git.sur5r.net Git - cc65/blobdiff - src/ca65/spool.c
Make much more usage of dynamic strings (StrBufs) instead of char* and
[cc65] / src / ca65 / spool.c
index f33e0583ae2eb1bb260ef23faea042ff8172efb7..7d5bd98eab59455afe4d34a8e589cc14305e7f82 100644 (file)
@@ -57,7 +57,7 @@ StringPool StrPool = STATIC_STRINGPOOL_INITIALIZER;
 
 void WriteStrPool (void)
 /* Write the string pool to the object file */
-{                  
+{
     unsigned I;
 
     /* Get the number of strings in the string pool */
@@ -71,7 +71,7 @@ void WriteStrPool (void)
 
     /* Write the strings in id order */
     for (I = 0; I < Count; ++I) {
-        ObjWriteStr (SP_Get (&StrPool, I));
+        ObjWriteBuf (SP_Get (&StrPool, I));
     }
 
     /* Done writing the string pool */