View Single Post
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Mar 11, 2009, 09:28 PM
Violet CLM is offline
Reply With Quote
Quote:
Originally Posted by Unknown Rabbit View Post
It's in ERE...
but as it's been bumped, I figure I may as well ask, is
Code:
fileHeader.crc32 = crc32(0L, Z_NULL, 0);
substantially different from
Code:
fileHeader.crc32 = 0;
? I assume it is, but I don't really know what those variables refer to.
I ask again. I kind of need to be able to compile things... what is the result of this setting? As I understand it otherwise, taking the CRC (with any polynomial) of 0 is just going to be 0, so there's got to be some sort of starting value, but what is it? Or do I just totally misunderstand the process?
__________________