@@ -38,12 +38,12 @@ * Adds a buffer to the hash to be calculated. * * \param buf The buffer which should be included into calculation. * \param size The size of the buffer */ -- updateWithBuffer: (const char*)buf - ofSize: (size_t)size; +- (void)updateWithBuffer: (const char*)buf + ofSize: (size_t)size; /** * \return A buffer containing the hash (OF_MD5_DIGEST_SIZE = 16 bytes). * The buffer is part of object's memory pool. */ @@ -72,12 +72,12 @@ * Adds a buffer to the hash to be calculated. * * \param buf The buffer which should be included into calculation. * \param size The size of the buffer */ -- updateWithBuffer: (const char*)buf - ofSize: (size_t)size; +- (void)updateWithBuffer: (const char*)buf + ofSize: (size_t)size; /** * \return A buffer containing the hash (OF_SHA1_DIGEST_SIZE = 20 bytes). * The buffer is part of object's memory pool. */