Fixed a typo in doc.
Changed a few longs for slong.