The source project of this merge request has been removed.
drop needless ssize_t cast, would need sys/types.h
There's this compiler error on Cygwin (newlib) with libidn2-0.16
:
tr46map.c: In function 'get_map_data':
tr46map.c:162:11: error: 'ssize_t' undeclared (first use in this function)
for (; (ssize_t) n > 0; n--)
^
Per the standards, ssize_t
is available via <stdio.h>
or <sys/types.h>
, but not via <stdint.h>
.
However, IMO it doesn't make much sense to cast the (signed) int
to ssize_t
for > 0
test.
Thanks!