13
0

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:
Paul Davis 2012-05-02 20:33:39 +00:00
parent 4235e9a1a2
commit a562e5f7f2

View File

@ -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