public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Change register_t definition
@ 2019-02-19  8:07 Sebastian Huber
  0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2019-02-19  8:07 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=688e584efe44ba2ffd5640e857b8be3d1b1c6bfa

commit 688e584efe44ba2ffd5640e857b8be3d1b1c6bfa
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Mon Feb 18 09:39:02 2019 +0100

    Change register_t definition
    
    On 64-bit targets, the register_t type must be a 64-bit integer.
    
    Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>

Diff:
---
 newlib/libc/include/sys/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index e5bd029..85f8ddb 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -36,7 +36,7 @@ typedef __uint32_t	u_int32_t;
 #if ___int64_t_defined
 typedef __uint64_t	u_int64_t;
 #endif
-typedef int register_t;
+typedef __intptr_t register_t;
 #define __BIT_TYPES_DEFINED__ 1
 
 #ifndef __need_inttypes


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-19  8:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-19  8:07 [newlib-cygwin] Change register_t definition Sebastian Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).