Commit f913a290 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Include <sys/types.h>.

Changed u_ to unsigned.
parent 88867200
/*
* $Id: simple-cache.c,v 0.36 1993/10/14 09:11:48 ceder Exp $
* $Id: simple-cache.c,v 0.37 1993/10/14 22:40:49 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -33,7 +33,7 @@
* New save algorithm by ceder.
*/
static char *rcsid = "$Id: simple-cache.c,v 0.36 1993/10/14 09:11:48 ceder Exp $";
static char *rcsid = "$Id: simple-cache.c,v 0.37 1993/10/14 22:40:49 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -51,13 +51,13 @@ USE(rcsid);
#endif
#include <time.h>
#ifndef HAVE_DIFFTIME
# include <sys/types.h>
# include "tmp-difftime.h"
#endif
#include <setjmp.h>
#ifdef HAVE_STDARG_H
# include <stdarg.h>
#endif
#include <sys/types.h>
#include "exp.h"
#include "misc-types.h"
......@@ -685,7 +685,7 @@ cached_delete_person(Pers_no pers)
if ( pers >= next_free_num )
{
log("cached_delete_person(%lu): next_free_num == %lu\n",
(u_long)pers, (u_long)next_free_num);
(unsigned long)pers, (unsigned long)next_free_num);
kom_errno = KOM_UNDEF_PERS;
return FAILURE;
}
......@@ -702,7 +702,7 @@ cached_delete_person(Pers_no pers)
if ( node->lock_cnt > 0 )
log("cached_delete_pers(%lu): lock_cnt === %lu\n",
(u_long)pers, (u_long)node->lock_cnt);
(unsigned long)pers, (unsigned long)node->lock_cnt);
LOGACC(lt_delete_pers, pers);
......
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