mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
FFstrbuf: change ffStrbufToUInt16 to more general function ffStrbufToUInt
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ int main(void)
|
||||
//toNumber
|
||||
|
||||
VERIFY(ffStrbufToDouble(&strbuf) == 123456789.0);
|
||||
VERIFY(ffStrbufToUInt16(&strbuf, 999) == 999); //overflow
|
||||
VERIFY(ffStrbufToUInt(&strbuf, 999) == 123456789);
|
||||
|
||||
//countC
|
||||
|
||||
|
||||
Reference in New Issue
Block a user