From 79f038d23d299b60fa5032b02bcaf3099a3ea55f Mon Sep 17 00:00:00 2001 From: Per Cederqvist <ceder@lysator.liu.se> Date: Sat, 22 Oct 1994 13:25:49 +0000 Subject: [PATCH] (adjust_text_list): Explicitly return TRUE or FALSE, not a boolean expression, to get rid of apcc warnings. --- src/server/text.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/text.c b/src/server/text.c index fbf2473d5..801c6d48e 100644 --- a/src/server/text.c +++ b/src/server/text.c @@ -1,5 +1,5 @@ /* - * $Id: text.c,v 0.32 1994/06/30 07:06:42 ceder Exp $ + * $Id: text.c,v 0.33 1994/10/22 13:25:49 ceder Exp $ * Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,7 +28,7 @@ * All atomic calls that deals with texts. */ -static char *rcsid = "$Id: text.c,v 0.32 1994/06/30 07:06:42 ceder Exp $"; +static char *rcsid = "$Id: text.c,v 0.33 1994/10/22 13:25:49 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -532,7 +532,7 @@ adjust_text_list(Text_list *text_list) * sizeof(Text_no))); } - return zeroes > 0; + return (zeroes > 0) ? TRUE : FALSE; } -- GitLab