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