Prepare for ZSTD_WINDOWLOG_MAX == 31

This commit is contained in:
Nick Terrell committed 2017-09-21 17:18:41 -07:00
1 parent da74aabc00
commit d6abb28951
3 files changed
+30 -9

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@
* Frames requiring more memory will be rejected.
*/
#ifndef ZSTD_MAXWINDOWSIZE_DEFAULT
# define ZSTD_MAXWINDOWSIZE_DEFAULT ((1 << ZSTD_WINDOWLOG_MAX) + 1) /* defined within zstd.h */
# define ZSTD_MAXWINDOWSIZE_DEFAULT (((U64)1 << ZSTD_WINDOWLOG_MAX) + 1) /* defined within zstd.h */
#endif