Changed integer types to remove implicit conversion warnings

No more warnings :)