Skip to content

Commit

Permalink
Type conversion from void* to unsigned char*
Browse files Browse the repository at this point in the history
Required for compatibility with intel compilers
  • Loading branch information
cjain7 authored Feb 18, 2019
1 parent 68752fd commit 7fe58c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kseq.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ typedef struct __kstring_t {
} else break; \
} \
if (delimiter == KS_SEP_LINE) { \
unsigned char *sep = memchr(ks->buf + ks->begin, '\n', ks->end - ks->begin); \
unsigned char *sep = (unsigned char*)memchr(ks->buf + ks->begin, '\n', ks->end - ks->begin); \
i = sep != NULL ? sep - ks->buf : ks->end; \
} else if (delimiter > KS_SEP_MAX) { \
for (i = ks->begin; i < ks->end; ++i) \
Expand Down

0 comments on commit 7fe58c8

Please sign in to comment.