mirror of
https://github.com/openharmony/third_party_tinyalsa.git
synced 2026-07-01 20:14:06 -04:00
fix integer character ascii range
This commit is contained in:
+1
-1
@@ -370,7 +370,7 @@ fail:
|
||||
|
||||
static int is_int(const char *value)
|
||||
{
|
||||
return value[0] >= '0' || value[0] <= '9';
|
||||
return value[0] >= '0' && value[0] <= '9';
|
||||
}
|
||||
|
||||
struct parsed_int
|
||||
|
||||
Reference in New Issue
Block a user