mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-15 13:07:55 +08:00
r796: don't use ssize_t
This commit is contained in:
2
main.c
2
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 <sys/resource.h>
|
||||
|
||||
2
sdust.c
2
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))
|
||||
|
||||
Reference in New Issue
Block a user