From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1888 invoked by alias); 19 Feb 2019 08:07:16 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 1853 invoked by uid 10080); 19 Feb 2019 08:07:16 -0000 Date: Tue, 19 Feb 2019 08:07:00 -0000 Message-ID: <20190219080716.1852.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Change register_t definition X-Act-Checkin: newlib-cygwin X-Git-Author: Sebastian Huber X-Git-Refname: refs/heads/master X-Git-Oldrev: 6246ef794939693896a3f1921ec5bf44a172bb5a X-Git-Newrev: 688e584efe44ba2ffd5640e857b8be3d1b1c6bfa X-SW-Source: 2019-q1/txt/msg00029.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=688e584efe44ba2ffd5640e857b8be3d1b1c6bfa commit 688e584efe44ba2ffd5640e857b8be3d1b1c6bfa Author: Sebastian Huber 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 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