Have increment and decrement functions take int arguments unstead of

unsigned because I was getting (0 >= -234) -> 1.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@235 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-04-03 02:04:48 +00:00
parent 4666956b5a
commit 88eb44c511

View file

@ -136,7 +136,7 @@ typedef struct {
static inline void
stringIncrementCountAndMakeHoleAt(NSMutableCStringStruct *self,
unsigned index, unsigned size)
int index, int size)
{
#ifndef STABLE_MEMCPY
{
@ -154,7 +154,7 @@ stringIncrementCountAndMakeHoleAt(NSMutableCStringStruct *self,
static inline void
stringDecrementCountAndFillHoleAt(NSMutableCStringStruct *self,
unsigned index, unsigned size)
int index, int size)
{
(self->_count) -= size;
#ifndef STABLE_MEMCPY