Skip to content

Commit d46e68e

Browse files
committed
r796: don't use ssize_t
1 parent 2584a41 commit d46e68e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "getopt.h"
1111
#endif
1212

13-
#define MM_VERSION "2.10-r795-dirty"
13+
#define MM_VERSION "2.10-r796-dirty"
1414

1515
#ifdef __linux__
1616
#include <sys/resource.h>

sdust.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void sdust_buf_destroy(sdust_buf_t *buf)
7070
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)
7171
{
7272
int s;
73-
if ((ssize_t)kdq_size(w) >= W - SD_WLEN + 1) { // TODO: is this right for SD_WLEN!=3?
73+
if ((int)kdq_size(w) >= W - SD_WLEN + 1) { // TODO: is this right for SD_WLEN!=3?
7474
s = *kdq_shift(int, w);
7575
*rw -= --cw[s];
7676
if (*L > (int)kdq_size(w))

0 commit comments

Comments
 (0)