Format error

Was passing in NSUInteger to a format function, which is a no-no. Changed
it by casting to a long and looking for that long within the format