Throughout Cygwin, use u_intN_t or uintN_t
Don't use u_char, u_short, u_int or u_long in Cygwin, unless it refers to the Winsock types. Use u_intN_t in BSD-based sources, unsigned char where strings are concerned, uintN_t otherwise. Also: * net.cc: Fix comment, we're not using u_long anymore. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -117,9 +117,9 @@ monstartup (size_t lowpc, size_t highpc)
|
||||
|
||||
p->tos = (struct tostruct *)cp;
|
||||
cp += p->tossize;
|
||||
p->kcount = (u_short *)cp;
|
||||
p->kcount = (u_int16_t *)cp;
|
||||
cp += p->kcountsize;
|
||||
p->froms = (u_short *)cp;
|
||||
p->froms = (u_int16_t *)cp;
|
||||
|
||||
/* XXX minbrk needed? */
|
||||
//minbrk = fake_sbrk(0);
|
||||
|
Reference in New Issue
Block a user