srd: use more appropriate calls for integer constants