another quick OS X Lion gcc suggestion
git-svn-id: svn://localhost/ardour2/branches/3.0@12149 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4235e9a1a2
commit
a562e5f7f2
@ -104,7 +104,7 @@ CrossThreadChannel::drain (int fd)
|
||||
{
|
||||
/* drain selectable fd */
|
||||
char buf[64];
|
||||
while (::read (fd, buf, sizeof (buf)) > 0);
|
||||
while (::read (fd, buf, sizeof (buf)) > 0) {};
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user