Bug 243763 - explicit cast from LONG to int8_t. r=bbondy
Backout 67f60ef5c92f (bug 818023) for causing bug 829512