Heinrichs Weikamp: Increase parameter value buffer size.
Get rid of truncation warnings and possible string truncation by increasing the size of the buffer used for parameter values. There is enough space to display up to 64 characters. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
7efedfbb2b
commit
648651e2d7
@ -525,7 +525,7 @@ hw_ostc_parser_get_datetime (dc_parser_t *abstract, dc_datetime_t *datetime)
|
||||
return DC_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
#define BUFLEN 32
|
||||
#define BUFLEN 64
|
||||
|
||||
static dc_status_t
|
||||
hw_ostc_parser_get_field (dc_parser_t *abstract, dc_field_type_t type, unsigned int flags, void *value)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user