summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-05-02 20:33:39 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-05-02 20:33:39 +0000
commita562e5f7f2c9c10bfabb100efa15783260573f39 (patch)
tree3efeceb8ce1b13de52574444f2439bd5e13148fe
parent4235e9a1a278d5a6c0403ea5cb5c7477e2a1b8ad (diff)
another quick OS X Lion gcc suggestion
git-svn-id: svn://localhost/ardour2/branches/3.0@12149 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/pbd/crossthread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/crossthread.cc b/libs/pbd/crossthread.cc
index 553c8d52f3..2ffede5163 100644
--- a/libs/pbd/crossthread.cc
+++ b/libs/pbd/crossthread.cc
@@ -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