@@ -226,18 +226,18 @@ * specified tag. * * @param extraField The extra field to search for an extensible data field with * the specified tag * @param tag The tag to look for - * @param data A pointer to a pointer that should be set to the start of the - * extra field with the specified tag * @param size A pointer to an uint16_t that should be set to the size + * @return The index at which the extra field content starts in the OFData, or + * OF_NOT_FOUND */ -extern void of_zip_archive_entry_extra_field_find(OFData *extraField, - uint16_t tag, const uint8_t *_Nonnull *_Nonnull data, uint16_t *size); +extern size_t of_zip_archive_entry_extra_field_find(OFData *extraField, + uint16_t tag, uint16_t *size); #ifdef __cplusplus } #endif OF_ASSUME_NONNULL_END #import "OFMutableZIPArchiveEntry.h"