Branch: Tag:

2004-01-23

2004-01-23 01:05:06 by Martin Nilsson <mani@lysator.liu.se>

Fixed warnings.

Rev: src/post_modules/Nettle/hash.cmod:1.15
Rev: src/post_modules/Nettle/idea.c:1.5
Rev: src/post_modules/Nettle/nettle.cmod:1.28

1:   /* hash.cmod -*- c -*- */      #include "global.h" - RCSID("$Id: hash.cmod,v 1.14 2003/11/29 00:11:39 nilsson Exp $"); + RCSID("$Id: hash.cmod,v 1.15 2004/01/23 01:05:06 nilsson Exp $");   #include "interpret.h"   #include "svalue.h"   
163:    Pike_error("Bad argument type.\n");    if (arg->u.integer < 0)    Pike_error("Invalid length, must be positive.\n"); -  if (arg->u.integer > meta->digest_size) +  if ((unsigned)arg->u.integer > meta->digest_size)    Pike_error("Unsupported digest length.\n");       length = arg->u.integer;