mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-19 18:11:31 +00:00
Correct cast according to ctypes caveats.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@32941 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2ca9202b6e
commit
c0a699944f
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-04-28 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
|
* Framework/PCFileManager.m:
|
||||||
|
Correct cast according to ctypes caveats.
|
||||||
|
|
||||||
2011-04-07 Riccardo Mottola <rm@gnu.org>
|
2011-04-07 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
* Headers/ProjectCenter/PCDefines.h
|
* Headers/ProjectCenter/PCDefines.h
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
||||||
|
|
||||||
Copyright (C) 2000-2010 Free Software Foundation
|
Copyright (C) 2000-2011 Free Software Foundation
|
||||||
|
|
||||||
Authors: Philippe C.D. Robert
|
Authors: Philippe C.D. Robert
|
||||||
Serg Stoyan
|
Serg Stoyan
|
||||||
|
@ -627,7 +627,7 @@ static PCFileManager *_mgr = nil;
|
||||||
buf = [data bytes];
|
buf = [data bytes];
|
||||||
for (i = printable = 0, n = [data length]; i < n; i++)
|
for (i = printable = 0, n = [data length]; i < n; i++)
|
||||||
{
|
{
|
||||||
if (isprint(buf[i]) || isspace(buf[i]))
|
if (isprint((int)(unsigned char)buf[i]) || isspace((int)(unsigned char)buf[i]))
|
||||||
{
|
{
|
||||||
printable++;
|
printable++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue