Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Green <mrg@redhat.com>2002-02-09 16:01:46 +0300
committerMatthew Green <mrg@redhat.com>2002-02-09 16:01:46 +0300
commit82b3ac561c56021c324a79ed549c72b4548fce9d (patch)
treec42e03bfb693ff9e0d2740649f7807e751b2c9e3 /newlib/libc
parentff86860ba629f504f059a1ec8b2c9945accaffc6 (diff)
* libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
_REENT_EMERGENCY_SIZE, not sizeof(char *).
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/include/sys/reent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h
index d28d201ca..600e0b1f3 100644
--- a/newlib/libc/include/sys/reent.h
+++ b/newlib/libc/include/sys/reent.h
@@ -345,7 +345,7 @@ struct _reent
_REENT_CHECK(var, _mp, struct _mprec *, sizeof *((var)->_mp), _REENT_INIT_MP(var))
#define _REENT_CHECK_EMERGENCY(var) \
- _REENT_CHECK(var, _emergency, char *, sizeof *((var)->_emergency), /* nothing */)
+ _REENT_CHECK(var, _emergency, char *, _REENT_EMERGENCY_SIZE, /* nothing */)
#define _REENT_SIGNGAM(ptr) ((ptr)->_gamma_signgam)
#define _REENT_RAND_NEXT(ptr) ((ptr)->_r48->_rand_next)