Skip to content

Commit

Permalink
Fixing Mendeley#24: Building issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ItaloMunozAutentia committed Sep 7, 2018
1 parent 33c4e77 commit e194f1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion external/minizip/zip.c
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ extern int ZEXPORT zipOpenNewFileInZip4_64 (zipFile file, const char* filename,
unsigned char bufHead[RAND_HEAD_LEN];
unsigned int sizeHead;
zi->ci.encrypt = 1;
zi->ci.pcrc_32_tab = get_crc_table();
zi->ci.pcrc_32_tab = (const unsigned long*)(get_crc_table());
/*init_keys(password,zi->ci.keys,zi->ci.pcrc_32_tab);*/

sizeHead=crypthead(password,bufHead,RAND_HEAD_LEN,zi->ci.keys,zi->ci.pcrc_32_tab,crcForCrypting);
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ find_package(Threads REQUIRED)
include(GenerateCppResourceFile)

if (UNIX)
add_definitions(-Wall -Werror -Wconversion)
add_definitions(-Wall -Werror -Wconversion -std=c++11)
endif()

if (UNIX AND NOT APPLE)
Expand Down

0 comments on commit e194f1a

Please sign in to comment.