mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
telnet.c: fix MSVC compiler warning
This commit is contained in:
parent
97d7a9260e
commit
703fa0a6a8
@ -80,12 +80,12 @@
|
||||
do { \
|
||||
x->subend = x->subpointer; \
|
||||
CURL_SB_CLEAR(x); \
|
||||
} while(0)
|
||||
} WHILE_FALSE
|
||||
#define CURL_SB_ACCUM(x,c) \
|
||||
do { \
|
||||
if(x->subpointer < (x->subbuffer+sizeof x->subbuffer)) \
|
||||
*x->subpointer++ = (c); \
|
||||
} while(0)
|
||||
} WHILE_FALSE
|
||||
|
||||
#define CURL_SB_GET(x) ((*x->subpointer++)&0xff)
|
||||
#define CURL_SB_PEEK(x) ((*x->subpointer)&0xff)
|
||||
|
Loading…
Reference in New Issue
Block a user