mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 21:00:44 +00:00
Replace int with NSInteger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30608 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d193acd41c
commit
b1dba74b03
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-06-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* EOMultiReaderLock.m (-tryLockForWriting, -unlockForReading):
|
||||
Replace int with NSInteger.
|
||||
|
||||
2010-06-06 David Wetzel <dave@turbocat.de>
|
||||
* EOAccess/EOEntity.m
|
||||
Added comment. Please check this!
|
||||
|
|
|
@ -121,8 +121,7 @@
|
|||
- (void)lockForReading
|
||||
{
|
||||
NSThread *ct = [NSThread currentThread];
|
||||
|
||||
int cnt = (int)NSMapGet(_readerThreads,ct);
|
||||
NSInteger cnt = (NSInteger)NSMapGet(_readerThreads,ct);
|
||||
|
||||
if (ct == _writerLockThread)
|
||||
{
|
||||
|
@ -163,7 +162,8 @@
|
|||
- (void)unlockForReading
|
||||
{
|
||||
NSThread *ct = [NSThread currentThread];
|
||||
int cnt = (int)NSMapGet(_readerThreads,ct);
|
||||
NSInteger cnt = (NSInteger)NSMapGet(_readerThreads,ct);
|
||||
|
||||
if (--cnt)
|
||||
{
|
||||
NSMapInsert(_readerThreads,ct,(void *)(cnt));
|
||||
|
|
Loading…
Reference in a new issue