2007/2/18, Gustavo García Bernardo <[EMAIL PROTECTED]>: > When building sofia-sip 1.12. 5 with Visual Studio 2005 I receive this > warning (and the project settings include treat warnings as errors): > > ...sofia-sip-1.12.5\libsofia-sip-ua\sip\sip_parser_table.c(137) > : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned > short', possible loss of data
You have the commercial edition? The VisualStudio 2005 Express Edition does not give any warnings... > I think offsetof should return an unsigned short or hr_offset in msg_href_t > should be defined as size_t. With any of these changes, or setting off > warnings as errors I can build the project. Thanks for reporting this, I'll fix the script generating the sip_parser_table.c and friends. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sofia-sip-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
