[sword-devel] problem report
Martin Gruner
sword-devel@crosswire.org
Mon, 21 Aug 2000 21:41:30 +0200
Hi Troy,
I seem to run into a problem while I am trying to use your interface for
search progress displaying. You provided a callback function.
I implemented it like this:
unsigned int cms_currentProgress = 0;
void percentUpdate(char percent, void *p){
cms_currentProgress = (unsigned int) percent;
...
}
Now th eproblem is, that cms_currentProgress will have values higher than 100
(max. 127) and lower than zero (min -127). Is this my fault (I am not a good
programmer, so I might have done some stupid mistake)?
Please give me some advice.
Thank you for all your efforts for the kingdom of God.
Martin