File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
MTA10_Server/mods/deathmatch/logic/luadefs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -506,11 +506,11 @@ int CLuaDatabaseDefs::DbFree ( lua_State* luaVM )
506506int CLuaDatabaseDefs::DbPoll ( lua_State* luaVM )
507507{
508508 // table dbPoll ( handle query, int timeout )
509- CDbJobData* pJobData; uint uiTimeout ;
509+ CDbJobData* pJobData; int iTimeout ;
510510
511511 CScriptArgReader argStream ( luaVM );
512512 argStream.ReadUserData ( pJobData );
513- argStream.ReadNumber ( uiTimeout );
513+ argStream.ReadNumber ( iTimeout );
514514
515515 if ( !argStream.HasErrors () )
516516 {
@@ -523,7 +523,7 @@ int CLuaDatabaseDefs::DbPoll ( lua_State* luaVM )
523523
524524 if ( !argStream.HasErrors () )
525525 {
526- if ( !g_pGame->GetDatabaseManager ()->QueryPoll ( pJobData, uiTimeout ) )
526+ if ( !g_pGame->GetDatabaseManager ()->QueryPoll ( pJobData, iTimeout ) )
527527 {
528528 // Not ready yet
529529 lua_pushnil ( luaVM );
You can’t perform that action at this time.
0 commit comments