blob_handler: Fix fprintf %li to %zu & update clang-format
While updating to Meson it seems we enabled a more strict formatting
checks which are causing presubmit builds to fail:
https://gerrit.openbmc.org/c/openbmc/openbmc/+/55463
Fix the failures with suggested solutions.
Tested: Built an internal platform with this newest change
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I39b411b6154517809a06c4788603fe11830accc1
diff --git a/.clang-format b/.clang-format
index 52ac0a1..00e2e25 100644
--- a/.clang-format
+++ b/.clang-format
@@ -41,7 +41,7 @@
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
-BreakStringLiterals: true
+BreakStringLiterals: false
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
@@ -49,6 +49,7 @@
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
+DeriveLineEnding: false
DerivePointerAlignment: false
PointerAlignment: Left
DisableFormat: false
@@ -76,7 +77,7 @@
IndentCaseLabels: true
IndentWidth: 4
IndentWrappedFunctionNames: true
-KeepEmptyLinesAtTheStartOfBlocks: true
+KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
@@ -110,6 +111,7 @@
SpacesInSquareBrackets: false
Standard: Latest
TabWidth: 4
+UseCRLF: false
UseTab: Never
...