Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c057503a authored by Greg Hackmann's avatar Greg Hackmann
Browse files

toolbox: date: fix parameter type warnings



Change-Id: I810a9abee8bc0061c5007fe08197384f2b85754b
Signed-off-by: default avatarGreg Hackmann <ghackmann@google.com>
parent fa66f1e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ int date_main(int argc, char *argv[])
        //tv.tv_sec = mktime(&tm);
        //tv.tv_usec = 0;
        strtotimeval(argv[optind], &tv);
        printf("time %s -> %d.%d\n", argv[optind], tv.tv_sec, tv.tv_usec);
        printf("time %s -> %lu.%lu\n", argv[optind], tv.tv_sec, tv.tv_usec);
        fd = open("/dev/alarm", O_RDWR);
        ts.tv_sec = tv.tv_sec;
        ts.tv_nsec = tv.tv_usec * 1000;