diff --git a/n/t.c b/n/t.c index 67552c35c..381a18fe2 100644 --- a/n/t.c +++ b/n/t.c @@ -52,7 +52,7 @@ u3t_slog(u3_noun hod) gettimeofday(&f2, 0); timersub(&f2, &b4, &d0); ms_w = (d0.tv_sec * 1000) + (d0.tv_usec / 1000); - printf("%d.%dms ", ms_w, (d0.tv_usec % 1000) / 10); + printf("%d.%dms ", ms_w, (int) (d0.tv_usec % 1000) / 10); } gettimeofday(&b4, 0); old = 1; diff --git a/v/loop.c b/v/loop.c index 60f4a3059..8103518f8 100644 --- a/v/loop.c +++ b/v/loop.c @@ -461,6 +461,8 @@ u3_lo_shut(c3_o inn) // if ( c3y == inn ) { u3_unix_ef_look(); + u3_raft_work(); + _lo_time(); } // u3_lo_grab("lo_shut d", u3_none); diff --git a/v/raft.c b/v/raft.c index 852c02e68..a64ab8714 100644 --- a/v/raft.c +++ b/v/raft.c @@ -1577,7 +1577,7 @@ _raft_punk(u3_noun ovo) gettimeofday(&f2, 0); timersub(&f2, &b4, &d0); ms_w = (d0.tv_sec * 1000) + (d0.tv_usec / 1000); - uL(fprintf(uH, "%%punk %s %d.%dms\n", txt_c, ms_w, (d0.tv_usec % 1000) / 10)); + uL(fprintf(uH, "%%punk %s %d.%dms\n", txt_c, ms_w, (int) (d0.tv_usec % 1000) / 10)); free(txt_c); #endif diff --git a/v/unix.c b/v/unix.c index 9621b6e25..42312d21c 100644 --- a/v/unix.c +++ b/v/unix.c @@ -250,7 +250,6 @@ _unix_fs_event_cb(uv_fs_event_t* was_u, c3_i evt_i, c3_i sas_i) { - // note that we're doing something tricky and weird here. // // * libuv passes around a pointer to a uv_fs_event_t