]> Shamusworld >> Repos - rmac/blobdiff - error.c
First working 64-bit version of RMAC
[rmac] / error.c
diff --git a/error.c b/error.c
index c73cec52b0869af16b2c350c5e393727ea3c0434..e17dcc7cd1c832600c24e43f4dfb57b1228ddd38 100644 (file)
--- a/error.c
+++ b/error.c
@@ -69,7 +69,7 @@ void err_setup(void)
 //
 // Display Error Message
 //
-int error(char * s)
+int error(const char * s)
 {
        char buf[EBUFSIZ];
        unsigned int length;
@@ -88,7 +88,7 @@ int error(char * s)
                printf("%s", buf);
 
        taglist('E');
-       ++errcnt;
+       errcnt++;
 
        return ERROR;
 }