ref: a4f796ae03af2f37b7d265c0aa35f7f5d85b09ae
parent: 6c590f720cbdbf0a259f6edfc3fe9191cc0dc3da
author: asau <asau@ficl.sf.net>
date: Sun Sep 12 10:09:11 CDT 2010
Use traditional booleans to silence warnings.
--- a/utility.c
+++ b/utility.c
@@ -230,13 +230,13 @@
if (text == NULL)
{
- outputFunction(callback->vm, NULL, FICL_FALSE);
+ outputFunction(callback->vm, NULL, 0 /* false */);
return;
}
while (*text)
{
- int newline = FICL_FALSE;
+ int newline = 0 /* false */;
char *trace = buffer;
while ((*text) && (trace < bufferStop))
{
@@ -248,7 +248,7 @@
continue;
case '\n':
text++;
- newline = FICL_TRUE;
+ newline = !0 /* true */;
break;
default:
*trace++ = *text++;