asOFFSET returns size_t while RegisterObjectProperty takes int offset

Started by
2 comments, last by WitchLord 5 years, 5 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

 

Advertisement

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

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