Skip to content

Commit 641feee

Browse files
YuguoZhangYuguo Zhang
authored andcommitted
examples: build using MSVC
1 parent 52d919f commit 641feee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compression.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static int
113113
_compression_write(xmpp_conn_t *conn, const void *buff, size_t len, int flush)
114114
{
115115
int ret;
116-
const void *buff_end = (const char*)buff + len;
116+
const void *buff_end = (const char *)buff + len;
117117
struct xmpp_compression *comp = conn->compression.state;
118118
comp->compression.stream.next_in = (Bytef *)buff;
119119
comp->compression.stream.avail_in = len;
@@ -204,7 +204,7 @@ static void *_zlib_alloc(void *opaque, unsigned int items, unsigned int size)
204204
static void _init_zlib_compression(xmpp_ctx_t *ctx, struct zlib_compression *s)
205205
{
206206
s->buffer = strophe_alloc(ctx, STROPHE_COMPRESSION_BUFFER_SIZE);
207-
s->buffer_end = (const char*)s->buffer + STROPHE_COMPRESSION_BUFFER_SIZE;
207+
s->buffer_end = (const char *)s->buffer + STROPHE_COMPRESSION_BUFFER_SIZE;
208208

209209
s->stream.opaque = ctx;
210210
s->stream.zalloc = _zlib_alloc;

0 commit comments

Comments
 (0)