2008-07-09 18:14 UTC+0100 Miguel Angel Marchuet <[EMAIL PROTECTED]> * include\hbrddbmc.h * source\rdd\bmdbfcdx\bmdbfcdx1.c ! fixed casting for indexes with key length greater then 196 bytes created on tables with record number smaller then 256. In such case if keys have equal value then after decoding they may need more then 32767 bytes and casting to SHORT gives negative indexes. Thanks to Saulius Zrelskis for example. % changed some SHORT to INT to reduce runtime overhead
* include\hbrddcdx.h * include\hbrddntx.h * source\rdd\dbfcdx\dbfcdx1.c ! fixed casting for indexes with key length greater then 196 bytes created on tables with record number smaller then 256. In such case if keys have equal value then after decoding they may need more then 32767 bytes and casting to SHORT gives negative indexes. Thanks to Saulius Zrelskis for example. % changed some SHORT to INT to reduce runtime overhead synced with harbour Best regards, Miguel Angel Marchuet ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers