Skip to content

Commit

Permalink
odbcBackend: "%d" instead of "%hhu" in format str
Browse files Browse the repository at this point in the history
for UCHAR_MAX (error on macOS build (Cirrus))
  • Loading branch information
flo91 committed Jun 10, 2023
1 parent adf6203 commit 6bac209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/backend_odbc/backend_odbc_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@ struct dataSourceConfig * fillDsStructFromDefinitionKs (KeySet * ksDefinition, K
{
ELEKTRA_ADD_VALIDATION_SEMANTIC_WARNINGF (errorKey,
"The maximum value for the timeout of the ODBC "
"connection is %hhu seconds, but you provided %lu.\n"
"Therefore, the maximum value of %hhu is used for the "
"connection is %d seconds, but you provided %lu.\n"
"Therefore, the maximum value of %d is used for the "
"timeout.",
UCHAR_MAX, lTimeout, UCHAR_MAX);
dsConfig->timeOut = UCHAR_MAX;
Expand Down

0 comments on commit 6bac209

Please sign in to comment.