Amr-Shams commented on issue #1023: URL: https://github.com/apache/age/issues/1023#issuecomment-1630580680
I believe you encountered this problem to make a double check about the input what if it is zero and how to differentiate between the input is zero or the conversion was valid if that's the case then you can use an end pointer passed to the Atoi() then check in case of successful conversion the end pointer points to the null terminated string-"\0" other than this will be an error or un successful conversion. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
