Sun Studio 12:C 用户指南

2.8.12 int_to_unsigned

#pragma int_to_unsigned (funcname )

对于返回类型 unsigned 的函数,在 -Xt-Xs 模式下,将函数返回值的类型更改为 int