From f21aed109c6e46effee768684b9b4d5ea9c772ad Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 31 Mar 2008 19:46:46 +0000 Subject: [PATCH] An epicsInt8 is signed, but a bare 'char' isn't necessarily. --- src/libCom/misc/epicsTypes.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libCom/misc/epicsTypes.h b/src/libCom/misc/epicsTypes.h index 53ef76cfa..87fb7a03a 100644 --- a/src/libCom/misc/epicsTypes.h +++ b/src/libCom/misc/epicsTypes.h @@ -50,18 +50,17 @@ typedef enum { typedef int64_t epicsInt64; typedef uint64_t epicsUInt64; #else - typedef char epicsInt8; + typedef signed char epicsInt8; typedef unsigned char epicsUInt8; typedef short epicsInt16; typedef unsigned short epicsUInt16; typedef epicsUInt16 epicsEnum16; typedef int epicsInt32; - typedef unsigned epicsUInt32; + typedef unsigned int epicsUInt32; #endif typedef float epicsFloat32; typedef double epicsFloat64; -typedef unsigned long epicsIndex; -typedef epicsInt32 epicsStatus; +typedef epicsInt32 epicsStatus; typedef struct {