- if ((sizeof(size_t) < sizeof(u64)
- && res_entry->size > ~(size_t)0)
- || ((table = MALLOC(res_entry->size)) == NULL))
- {
- ERROR("Out of memory (needed %zu bytes for integrity table)",
- (size_t)res_entry->size);
- ret = WIMLIB_ERR_NOMEM;
- goto out;
+ if ((table = MALLOC(res_entry->size)) == NULL) {
+ ERROR("Can't allocate %"PRIu64" bytes for integrity table",
+ (u64)res_entry->size);
+ return WIMLIB_ERR_NOMEM;