fixed a bug in qse_gettime().

fixed wrong declaraations in alg.h
This commit is contained in:
2012-08-27 15:53:53 +00:00
parent a35c10fbfc
commit 8367a4cd12
3 changed files with 49 additions and 2 deletions

View File

@ -476,7 +476,7 @@ int qse_timelocal (const qse_btime_t* bt, qse_ntime_t* nt)
return 0;
#else
*nt = ((qse_ntime_t)mktime(&tm)*QSE_MSECS_PER_SEC) + bt->msec;
return -1;
return 0;
#endif
}