mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
4666956b5a
commit
88eb44c511
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue