@@ -11,10 +11,12 @@ * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ +#include "config.h" + #import "OFValue.h" #import "OFBytesValue.h" #import "OFMethodSignature.h" #import "OFNonretainedObjectValue.h" #import "OFPointValue.h" @@ -130,11 +132,11 @@ [self getValue: value size: size]; OFHashInit(&hash); for (size_t i = 0; i < size; i++) - OFHashAdd(&hash, value[i]); + OFHashAddByte(&hash, value[i]); OFHashFinalize(&hash); } @finally { OFFreeMemory(value); }