Ignore:
Timestamp:
01/12/17 14:41:17 (8 years ago)
Author:
epyon
Message:

CONTINUED:

  • getting rid of size_t
  • datatypes now restricted to uint32 size
  • 64-bit compatibility
  • copyright updates where modified
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lua/lua_types.cc

    r503 r534  
    1 // Copyright (C) 2016-2016 ChaosForge Ltd
     1// Copyright (C) 2016-2017 ChaosForge Ltd
    22// http://chaosforge.org/
    33//
     
    8585                {
    8686                        int error; // proper type instead of sint32?
    87                         *(sint32*)object = lua_tointeger( lstate, index );
     87                        *(sint32*)object = (sint32)lua_tointeger( lstate, index );
    8888                        return true;
    8989                }
Note: See TracChangeset for help on using the changeset viewer.