From fbda5f868703f76c09ab9d027767cb875e05b2a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20M=C3=B6ller?= Date: Wed, 8 Jul 2015 08:16:59 +0000 Subject: [PATCH] change type int8_t to signed char from type char closes #2499 git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1305 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/IO/SR_binary_spec.hh | 1 + src/OpenMesh/Core/IO/SR_types.hh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OpenMesh/Core/IO/SR_binary_spec.hh b/src/OpenMesh/Core/IO/SR_binary_spec.hh index 25babb1f..25e2a1e6 100644 --- a/src/OpenMesh/Core/IO/SR_binary_spec.hh +++ b/src/OpenMesh/Core/IO/SR_binary_spec.hh @@ -120,6 +120,7 @@ SIMPLE_BINARY(bool); SIMPLE_BINARY(float); SIMPLE_BINARY(double); SIMPLE_BINARY(long double); +SIMPLE_BINARY(char); SIMPLE_BINARY(int8_t); SIMPLE_BINARY(int16_t); diff --git a/src/OpenMesh/Core/IO/SR_types.hh b/src/OpenMesh/Core/IO/SR_types.hh index 1e524e8d..9628f59e 100644 --- a/src/OpenMesh/Core/IO/SR_types.hh +++ b/src/OpenMesh/Core/IO/SR_types.hh @@ -82,7 +82,7 @@ typedef unsigned char uchar; typedef unsigned short ushort; typedef unsigned long ulong; -typedef char int8_t; typedef unsigned char uint8_t; +typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; // Int should be 32 bit on all archs.