Add a cast to pacify MSVC.

svn path=/trunk/; revision=46850
This commit is contained in:
Evan Huus 2012-12-29 21:34:57 +00:00
parent 7dfa337910
commit 8331c0e495
1 changed files with 2 additions and 1 deletions

View File

@ -154,7 +154,8 @@ wmem_strbuf_append_vprintf(wmem_strbuf_t *strbuf, const gchar *fmt, va_list ap)
* wmem_strbuf_grow does not */
wmem_strbuf_grow(strbuf, len - 1);
g_vsnprintf(strbuf->str + strbuf->len, strbuf->alloc_len - strbuf->len,
g_vsnprintf((strbuf->str + strbuf->len),
(gulong) (strbuf->alloc_len - strbuf->len),
fmt, ap2);
va_end(ap2);