forked from osmocom/wireshark
Remove an out-of-date comment.
(It appears gsize/gssize are now the same size as size_t, even on 64-bit Windows, i.e. they're long longs on 64-bit Windows.)
This commit is contained in:
parent
92fb6a72f8
commit
7083e70842
|
@ -1138,11 +1138,6 @@ file_fdopen(int fd)
|
||||||
want = MAX_READ_BUF_SIZE;
|
want = MAX_READ_BUF_SIZE;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
/*
|
|
||||||
* And GLib uses gsize, not size_t, as the argument type for
|
|
||||||
* g_try_malloc(). Make sure what we have still fits.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* allocate buffers */
|
/* allocate buffers */
|
||||||
state->in.buf = (unsigned char *)g_try_malloc(want);
|
state->in.buf = (unsigned char *)g_try_malloc(want);
|
||||||
state->in.next = state->in.buf;
|
state->in.next = state->in.buf;
|
||||||
|
|
Loading…
Reference in New Issue