diff --git a/main.c b/main.c index bec2029..5ac8ffb 100644 --- a/main.c +++ b/main.c @@ -10,7 +10,7 @@ #include "getopt.h" #endif -#define MM_VERSION "2.10-r795-dirty" +#define MM_VERSION "2.10-r796-dirty" #ifdef __linux__ #include diff --git a/sdust.c b/sdust.c index e7cb8f2..24b7cc3 100644 --- a/sdust.c +++ b/sdust.c @@ -70,7 +70,7 @@ void sdust_buf_destroy(sdust_buf_t *buf) static inline void shift_window(int t, kdq_t(int) *w, int T, int W, int *L, int *rw, int *rv, int *cw, int *cv) { int s; - if ((ssize_t)kdq_size(w) >= W - SD_WLEN + 1) { // TODO: is this right for SD_WLEN!=3? + if ((int)kdq_size(w) >= W - SD_WLEN + 1) { // TODO: is this right for SD_WLEN!=3? s = *kdq_shift(int, w); *rw -= --cw[s]; if (*L > (int)kdq_size(w))