mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-13 23:09:31 -06:00
silence some warnings for MSVC
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <malloc.h>
|
||||
#define alloca _alloca
|
||||
#define strdup _strdup
|
||||
#pragma warning(disable : 4996)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -415,7 +415,7 @@ PgfDB::PgfDB(const char* filepath, int flags, int mode) {
|
||||
last_free_block = 0;
|
||||
last_free_block_size = 0;
|
||||
last_free_block_txn_id= 0;
|
||||
seed = time(NULL);
|
||||
seed = (unsigned long int) time(NULL);
|
||||
}
|
||||
|
||||
PGF_INTERNAL
|
||||
|
||||
Reference in New Issue
Block a user