Problem: Compiler warning for accessing mediumVersion. (Tony Mechelynck)
Solution: Use the pointer instead of the array itself. (Dominique Pelle)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 41,
/**/
40,
/**/
if (highest_patch())
{
/* Check for 9.9x or 9.9xx, alpha/beta version */
- if (isalpha((int)mediumVersion[3]))
+ if (isalpha((int)vers[3]))
{
- if (isalpha((int)mediumVersion[4]))
+ if (isalpha((int)vers[4]))
sprintf((char *)vers + 5, ".%d%s", highest_patch(),
mediumVersion + 5);
else