forked from osmocom/wireshark
Add a cast to pacify MSVC.
svn path=/trunk/; revision=46850
This commit is contained in:
parent
7dfa337910
commit
8331c0e495
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue