|
@@ -43,6 +43,11 @@
|
|
|
|
|
|
#include "crypt.h"
|
|
#include "crypt.h"
|
|
|
|
|
|
|
|
+#ifdef _WIN32
|
|
|
|
+# pragma warning(push)
|
|
|
|
+# pragma warning(disable : 4244)
|
|
|
|
+#endif // _WIN32
|
|
|
|
+
|
|
/***************************************************************************/
|
|
/***************************************************************************/
|
|
|
|
|
|
#define CRC32(c, b) ((*(pcrc_32_tab+(((uint32_t)(c) ^ (b)) & 0xff))) ^ ((c) >> 8))
|
|
#define CRC32(c, b) ((*(pcrc_32_tab+(((uint32_t)(c) ^ (b)) & 0xff))) ^ ((c) >> 8))
|
|
@@ -159,4 +164,8 @@ int crypthead(const char *passwd, uint8_t *buf, int buf_size, uint32_t *pkeys,
|
|
return n;
|
|
return n;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef _WIN32
|
|
|
|
+# pragma warning(pop)
|
|
|
|
+#endif // _WIN32
|
|
|
|
+
|
|
/***************************************************************************/
|
|
/***************************************************************************/
|