From 4e54f93477382e3f18a3e118030deae0b3b51f5d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 28 Mar 2010 23:24:41 -0700 Subject: Make sure ALbyte and ALCbyte are signed --- include/AL/al.h | 2 +- include/AL/alc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/AL/al.h b/include/AL/al.h index 07f9ae76..c409701f 100644 --- a/include/AL/al.h +++ b/include/AL/al.h @@ -52,7 +52,7 @@ typedef char ALboolean; typedef char ALchar; /** signed 8-bit 2's complement integer */ -typedef char ALbyte; +typedef signed char ALbyte; /** unsigned 8-bit integer */ typedef unsigned char ALubyte; diff --git a/include/AL/alc.h b/include/AL/alc.h index b5996adc..4e84af42 100644 --- a/include/AL/alc.h +++ b/include/AL/alc.h @@ -51,7 +51,7 @@ typedef char ALCboolean; typedef char ALCchar; /** signed 8-bit 2's complement integer */ -typedef char ALCbyte; +typedef signed char ALCbyte; /** unsigned 8-bit integer */ typedef unsigned char ALCubyte; -- cgit v1.2.3