ObjFW  Diff

Differences From Artifact [e954a2772e]:

To Artifact [c2a59c307b]:


345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
345
346
347
348
349
350
351




352
353
354
355
356
357
358







-
-
-
-







		uint32_t date;

		_compressionMethod = [[OFString alloc]
		    initWithCString: header + 2
			   encoding: OFStringEncodingASCII
			     length: 5];

		if (_compressedSize > UINT32_MAX ||
		    _uncompressedSize > UINT32_MAX)
			@throw [OFOutOfRangeException exception];

		memcpy(&_compressedSize, header + 7, 4);
		_compressedSize =
		    OFFromLittleEndian32((uint32_t)_compressedSize);

		memcpy(&_uncompressedSize, header + 11, 4);
		_uncompressedSize =
		    OFFromLittleEndian32((uint32_t)_uncompressedSize);