mirror of
https://github.com/curl/curl.git
synced 2026-07-23 00:27:24 +03:00
telnet.c: fix MSVC compiler warning
This commit is contained in:
parent
97d7a9260e
commit
703fa0a6a8
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue