update interfaces
[mTask.git] / client / linux / interface.c
index 36d2a86..520873f 100644 (file)
@@ -33,7 +33,7 @@ void usage(FILE *o, char *arg0){
                "-p PORT  Custom port number, default: 8123\n" , arg0);
 }
 
-long getmillis(void) {
+unsigned long getmillis(void) {
        if (gettimeofday(&tv1, NULL) == -1)
                pdie("gettimeofday");
        return tv1.tv_sec*1000 + tv1.tv_usec/1000;
@@ -92,7 +92,7 @@ uint8_t read_apin(uint8_t i)
        (void) i;
 }
 
-void msdelay(long ms)
+void msdelay(unsigned long ms)
 {
        usleep(ms*1000);
 }