oops
[fw/sdcc] / link / z80 / lks19.c
index b326600f95e2aa3be83ef3148c5699bdfff37777..bbca75308364fee8b1152650171d5978efeeeb51 100644 (file)
@@ -11,7 +11,7 @@
 
 #include <stdio.h>
 #include <string.h>
-#include <alloc.h>
+//#include <alloc.h>
 #include "aslink.h"
 
 /*)Module      lks19.c
@@ -116,7 +116,7 @@ s19(i)
                                chksum += rtval[i];
                        }
                }
-               fprintf(ofp, "%02X\n", (-chksum-1) & 0xff);
+               fprintf(ofp, "%02X\n", (0-chksum-1) & 0xff);
        } else {
                fprintf(ofp, "S9030000FC\n");
        }