'ret' should be an 'int'.