Branch: Tag:

2007-01-10

2007-01-10 17:15:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Checksum error found by Klocwork.

Rev: src/opcodes.c:1.163

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: opcodes.c,v 1.162 2004/02/03 20:40:13 nilsson Exp $ + || $Id: opcodes.c,v 1.163 2007/01/10 17:15:15 grubba Exp $   */      #include "global.h" - RCSID("$Id: opcodes.c,v 1.162 2004/02/03 20:40:13 nilsson Exp $"); + RCSID("$Id: opcodes.c,v 1.163 2007/01/10 17:15:15 grubba Exp $");   #include "constants.h"   #include "interpret.h"   #include "opcodes.h"
402: Inside #if defined(PIKE_USE_MACHINE_CODE)
     #ifdef PIKE_USE_MACHINE_CODE    instrs_checksum = hashmem((const unsigned char*)instrs, sizeof(instrs), -  sizeof(instrs)); +  sizeof(struct instr));    /* fprintf(stderr, "Instruction checksum: %d\n", instrs_checksum); */   #endif /* PIKE_USE_MACHINE_CODE */