aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 11:03:39 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 11:03:39 +0200
commitb084bc28ede5d397e88a4e2bdad8c07a55069589 (patch)
treed61d58cc73ed7d591df05fee2f4a48682e8d9c8c /src/outputBuffer.c
parent71351160b1b6fd4203f27f9159ae39a476483e1a (diff)
downloadmpd-b084bc28ede5d397e88a4e2bdad8c07a55069589.tar.gz
mpd-b084bc28ede5d397e88a4e2bdad8c07a55069589.tar.xz
mpd-b084bc28ede5d397e88a4e2bdad8c07a55069589.zip
use the "bool" data type instead of "int"
"bool" should be used in C99 programs for boolean values.
Diffstat (limited to '')
-rw-r--r--src/outputBuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index d89dcb308..5a397ac42 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -34,7 +34,7 @@ ob_init(unsigned int size, struct notify *notify)
ob.size = size;
ob.begin = 0;
ob.end = 0;
- ob.lazy = 0;
+ ob.lazy = false;
ob.notify = notify;
ob.chunks[0].chunkSize = 0;
}
@@ -96,7 +96,7 @@ void ob_flush(void)
}
}
-void ob_set_lazy(int lazy)
+void ob_set_lazy(bool lazy)
{
ob.lazy = lazy;
}