roken: Fix parse_flags() orig argument type
This commit is contained in:
@@ -275,8 +275,7 @@ acc_flags(uint64_t res, int64_t val, uint64_t mult)
|
||||
}
|
||||
|
||||
ROKEN_LIB_FUNCTION uint64_t ROKEN_LIB_CALL
|
||||
parse_flags (const char *s, const struct units *units,
|
||||
int orig)
|
||||
parse_flags(const char *s, const struct units *units, uint64_t orig)
|
||||
{
|
||||
return parse_something_unsigned (s, units, NULL, acc_flags, orig, 1);
|
||||
}
|
||||
|
@@ -97,8 +97,8 @@ ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
|
||||
print_units_table (const struct units *units, FILE *f);
|
||||
|
||||
ROKEN_LIB_FUNCTION uint64_t ROKEN_LIB_CALL
|
||||
parse_flags (const char *s, const struct units *units,
|
||||
int orig);
|
||||
parse_flags(const char *s, const struct units *units,
|
||||
uint64_t orig);
|
||||
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
unparse_units(int64_t num, const struct units *units, char *s, size_t len);
|
||||
|
Reference in New Issue
Block a user