--- libaitcrc/inc/aitcrc.h 2011/04/28 20:28:20 1.4 +++ libaitcrc/inc/aitcrc.h 2011/09/14 14:33:56 1.4.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitcrc.h,v 1.4 2011/04/28 20:28:20 misho Exp $ +* $Id: aitcrc.h,v 1.4.2.1 2011/09/14 14:33:56 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -92,11 +92,11 @@ inline u_int crcCalc(u_char * __restrict psBuf, u_int /* * crcIP() Checksum in IP communication - * @nBuf = Data for calculation + * @buf = Data for calculation * @bufLen = Length of data * return: -1 error, !=-1 Checksum */ -inline u_short crcIP(u_short * __restrict nBuf, int bufLen); +inline u_short crcIP(u_char * __restrict buf, int bufLen); /* * crcFletcher16() Fletcher-16 Checksum computing * @nBuf = Data for calculation