Merge remote-tracking branch 'upstream/master'

Conflicts:
	testcode/lib/tinyshell.c
This commit is contained in:
Christian Groessler
2013-09-12 13:24:35 +02:00
2 changed files with 21 additions and 5 deletions

View File

@@ -102,7 +102,7 @@ long __fastcall__ strtol (const char* nptr, char** endptr, int base)
*/
if (endptr) {
if (CvtCount > 0) {
*endptr = (char*) S - 1;
*endptr = (char*) S;
} else {
*endptr = (char*) nptr;
}