In csMouseDriver::DoButton on line libs/csutil/csinput.cpp:668 the call to csMouseEventHelper::NewEvent is ambiguous because the axes and numAxes parameters don't quite match. They are declared to be const int32* and uint, but NewEvent expects const int* and uint8. Should NewEvent be changed to use int32 and uint or should DoButton be changed to use int and uint8? Note that the later would require changing the signature of DoButton (axes is a parameter of that function).
Also the button and smask parameters are not quite consistent with the types expected though they are not as serious as axes and numAxes. Four similar problems with *::NewEvent are on lines 688, 745, 829 and 874 of libs/csutil/csinput.cpp. NB. Just adding a cast to make the compiler shut up is *not* the right solution in this case because an int* may point to 64 bit ints and if cast to a uint32* then it will do the equivalent of object slicing. Michael D. Adams [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
