Advertisement

asOFFSET returns size_t while RegisterObjectProperty takes int offset

Started by October 25, 2018 09:59 PM
2 comments, last by WitchLord 6 years, 3 months ago

Title pretty much describes the issue here. This causes a ton of warnings when compiling using asOFFSET on MSVC x64:


warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data

 

That's odd. I use msvc64 targetting 64bit builds by default and never got this warning for asOFFSET

I'll look into it

 

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

I've fixed this in revision 2555

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement