You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-08 03:22:25 +03:00
Enable -Wconversion and silence new warnings.
This commit is contained in:
@@ -19,7 +19,7 @@ Define the console width - use a fixed with of 80 since this should be safe on v
|
||||
Helper function for helpRender() to make output look good on a console
|
||||
***********************************************************************************************************************************/
|
||||
static String *
|
||||
helpRenderText(const String *text, int indent, bool indentFirst, int length)
|
||||
helpRenderText(const String *text, size_t indent, bool indentFirst, size_t length)
|
||||
{
|
||||
String *result = strNew("");
|
||||
|
||||
@@ -45,7 +45,7 @@ helpRenderText(const String *text, int indent, bool indentFirst, int length)
|
||||
strCat(result, "\n");
|
||||
|
||||
if (strSize(strLstGet(partList, partIdx)))
|
||||
strCatFmt(result, "%*s", indent, "");
|
||||
strCatFmt(result, "%*s", (int)indent, "");
|
||||
}
|
||||
|
||||
// Add the line
|
||||
|
||||
Reference in New Issue
Block a user