projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed type to avoid warning
[yaz-moved-to-github.git]
/
src
/
waislen.c
diff --git
a/src/waislen.c
b/src/waislen.c
index
e065c65
..
5557bb2
100644
(file)
--- a/
src/waislen.c
+++ b/
src/waislen.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: waislen.c,v 1.5 2007-01-03 08:42:15 adam Exp $
*/
/**
* \file waislen.c
*/
/**
* \file waislen.c
@@
-11,11
+9,10
@@
#include <stdio.h>
#include <yaz/comstack.h>
#include <stdio.h>
#include <yaz/comstack.h>
-#include <yaz/tcpip.h>
/*
* Return length of WAIS package or 0
*/
/*
* Return length of WAIS package or 0
*/
-int completeWAIS(const unsigned char *buf, int len)
+int completeWAIS(const char *buf, int len)
{
int i, lval = 0;
{
int i, lval = 0;