aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/mcount.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/mcount.c
parent6ba2b53c53260323039d7f872034991e6706a20b (diff)
downloadnewlib-acc5f02ce8637bb6b395292fa259d20c296d8aa8.zip
newlib-acc5f02ce8637bb6b395292fa259d20c296d8aa8.tar.gz
newlib-acc5f02ce8637bb6b395292fa259d20c296d8aa8.tar.bz2
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/mcount.c')
-rw-r--r--winsup/cygwin/mcount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/mcount.c b/winsup/cygwin/mcount.c
index 6111b35..08d79b5 100644
--- a/winsup/cygwin/mcount.c
+++ b/winsup/cygwin/mcount.c
@@ -63,7 +63,7 @@ _MCOUNT_DECL (size_t, size_t);
_MCOUNT_DECL (size_t frompc, size_t selfpc)
{
- register u_short *frompcindex;
+ register u_int16_t *frompcindex;
register struct tostruct *top, *prevtop;
register struct gmonparam *p;
register long toindex;