Commit e9cbeb59 authored by Per Cederqvist's avatar Per Cederqvist

(foutput_text_list): Changed type of local variable "i" from int to

	unsigned long.
(foutput_time): Renamed a parameter name to avoid warnings from gcc.
(rcsid): Added a missing const.
parent e7766882
/*
* $Id: ram-output.c,v 0.23 1998/06/14 14:51:12 byers Exp $
* $Id: ram-output.c,v 0.24 1998/07/08 16:56:08 ceder Exp $
* Copyright (C) 1991, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -33,7 +33,8 @@
* (It worked - now saving is twice as fast.)
*/
static char *rcsid = "$Id: ram-output.c,v 0.23 1998/06/14 14:51:12 byers Exp $";
static const char *
rcsid = "$Id: ram-output.c,v 0.24 1998/07/08 16:56:08 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -561,7 +562,7 @@ void
foutput_text_list(FILE *fp,
Text_list text_list)
{
int i;
unsigned long i;
foutput_ulong((unsigned long)text_list.first_local_no, fp);
foutput_ulong((unsigned long)text_list.no_of_texts, fp);
......@@ -665,9 +666,9 @@ foutput_membership_list(FILE * fp,
void
foutput_time(FILE *fp,
time_t clock)
time_t clk)
{
foutput_ulong((unsigned long) clock, fp);
foutput_ulong((unsigned long) clk, fp);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment