summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/gmon.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-03-24 16:39:15 +0100
committerCorinna Vinschen <corinna@vinschen.de>2016-03-24 16:39:15 +0100
commitacc5f02ce8637bb6b395292fa259d20c296d8aa8 (patch)
tree318ee689b36a0decbd28f2a715b2c61ed3ab9bea /winsup/cygwin/gmon.c
parent6ba2b53c53260323039d7f872034991e6706a20b (diff)
downloadcygnal-acc5f02ce8637bb6b395292fa259d20c296d8aa8.tar.gz
cygnal-acc5f02ce8637bb6b395292fa259d20c296d8aa8.tar.bz2
cygnal-acc5f02ce8637bb6b395292fa259d20c296d8aa8.zip
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>
Diffstat (limited to 'winsup/cygwin/gmon.c')
-rw-r--r--winsup/cygwin/gmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/gmon.c b/winsup/cygwin/gmon.c
index 3baf93563..b31842cd9 100644
--- a/winsup/cygwin/gmon.c
+++ b/winsup/cygwin/gmon.c
@@ -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);