GetKernel return in decimal instead of hex

This commit is contained in:
Glenn Maynard
2004-01-02 07:01:27 +00:00
parent 75795a6afb
commit 8c6249aa8c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ void GetKernel( CString &sys, int &vers )
int major = atoi(matches[0]);
int minor = atoi(matches[1]);
int revision = atoi(matches[2]);
vers = (major << 16) + (minor << 8) + (revision);
vers = (major * 10000) + (minor * 100) + (revision);
}
}
}