void createConf()
{
- srand(time(NULL));
+ srand(static_cast<unsigned int>(time(NULL)));
ofstream pConf;
#if BOOST_FILESYSTEM_VERSION >= 3
{
// Restart the file with some of the end
char pch[200000];
- fseek(file, (long long)-sizeof(pch), SEEK_END);
+ fseek(file, -((long long)sizeof(pch)), SEEK_END);
int nBytes = fread(pch, 1, sizeof(pch), file);
fclose(file);