]> git.sur5r.net Git - cc65/blobdiff - src/cc65/asmcode.c
Rewrote type conversions
[cc65] / src / cc65 / asmcode.c
index 788dd5bece3f9fd0d7c0f339baa6d1d65ab5478a..776e36f674e2b4efcf12693030eeac5bc5488f98 100644 (file)
@@ -85,7 +85,7 @@ void WriteOutput (FILE* F)
     SymEntry* Entry;
 
     /* Output the global data segment */
-    CHECK (CS_GetEntryCount (CS->Code) == 0);
+    CHECK (!HaveGlobalCode ());
     OutputSegments (CS, F);
 
     /* Output all global or referenced functions */