fixed bug #1504758 - CRC32 implementation use potentially non-32bit types
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4697 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
618331287c
commit
3e561714e4
7 changed files with 38 additions and 30 deletions
13
Source/crc32.h
Normal file
13
Source/crc32.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
#include "Platform.h"
|
||||
|
||||
#ifndef ___CRC32__H___
|
||||
#define ___CRC32__H___
|
||||
|
||||
typedef UINT32 crc32_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
crc32_t NSISCALL CRC32(crc32_t crc, const unsigned char *buf, unsigned int len);
|
||||
|
||||
#endif//!___CRC32__H___
|
Loading…
Add table
Add a link
Reference in a new issue