From 7d91dc588895c75d79d95e264cead74f98326727 Mon Sep 17 00:00:00 2001 From: leitner Date: Fri, 25 Nov 2005 15:03:50 +0000 Subject: [PATCH] unsigned int -> unsigned long int for length --- cdb/cdb_find.3 | 4 ++-- cdb/cdb_read.3 | 2 +- cdb/cdb_successor.3 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cdb/cdb_find.3 b/cdb/cdb_find.3 index 5e9dfe6..34eb41d 100644 --- a/cdb/cdb_find.3 +++ b/cdb/cdb_find.3 @@ -6,13 +6,13 @@ cdb_find \- look up a key in a constant database .br .B #include -int cdb_find(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned int \fIkeylen\fR); +int cdb_find(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned long int \fIkeylen\fR); .br int cdb_datalen(struct cdb *\fIc\fR); .br int cdb_datapos(struct cdb *\fIc\fR); .br -int cdb_findnext(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned int \fIkeylen\fR); +int cdb_findnext(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned long int \fIkeylen\fR); .SH DESCRIPTION \fBcdb_find\fR looks for \fIkey\fR. If cdb_find returns 0, the database diff --git a/cdb/cdb_read.3 b/cdb/cdb_read.3 index 2dd8451..ce7646b 100644 --- a/cdb/cdb_read.3 +++ b/cdb/cdb_read.3 @@ -6,7 +6,7 @@ cdb_read \- read bytes from a constant database .br .B #include -int cdb_read(struct cdb *\fIc\fR,char *\fIbuf\fR,unsigned int \fIlen\fR,uint32 \fIposition\fR); +int cdb_read(struct cdb *\fIc\fR,char *\fIbuf\fR,unsigned long int \fIlen\fR,uint32 \fIposition\fR); .SH DESCRIPTION \fBcdb_read\fR reads \fIlen\fR bytes starting at \fIposition\fR from diff --git a/cdb/cdb_successor.3 b/cdb/cdb_successor.3 index 28c9626..f041d1c 100644 --- a/cdb/cdb_successor.3 +++ b/cdb/cdb_successor.3 @@ -4,7 +4,7 @@ cdb_successor \- find next record .SH SYNTAX .B #include -int cdb_successor(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned int \fIklen\fR); +int cdb_successor(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned long int \fIklen\fR); .SH DESCRIPTION \fBcdb_successor\fR finds the record that follows \fIkey\fR. If