]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - asm.c
almost ISO C now, fixed all the MEM_VECTOR trailing semicolon issues.
[xonotic/gmqcc.git] / asm.c
diff --git a/asm.c b/asm.c
index b1f48802658c14e319760d47221aef36c5764f0a..71a8fa37b91fa3f99b0c4c9896179c7395355b64 100644 (file)
--- a/asm.c
+++ b/asm.c
@@ -43,7 +43,7 @@ VECTOR_MAKE(globals, assembly_constants);
  */
 static char *const asm_getline(size_t *byte, FILE *fp) {
     char   *line = NULL;
-    ssize_t read = util_getline(&line, byte, fp);
+    size_t  read = util_getline(&line, byte, fp);
     *byte = read;
     if (read == -1) {
         mem_d (line);