spa: fix documentation for spa_atoi32

The val isn't undefined on failure, it's unmodified.
This commit is contained in:
Peter Hutterer 2021-06-02 14:57:37 +10:00 committed by Wim Taymans
parent 1a5faa7b52
commit c3ab4ec9dc

View file

@ -65,7 +65,7 @@ static inline bool spa_strneq(const char *s1, const char *s2, size_t len)
* Convert \a str to an int32_t with the given \a base and store the * Convert \a str to an int32_t with the given \a base and store the
* result in \a val. * result in \a val.
* *
* On failure, the value of \a val is undefined. * On failure, the value of \a val is unmodified.
* *
* \return true on success, false otherwise * \return true on success, false otherwise
*/ */