mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 16:38:01 +00:00
Version bump, fix implicit declarations and format warnings. Closes: https://bugs.gentoo.org/923106 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
24 lines
736 B
Diff
24 lines
736 B
Diff
include stdlib.h for free and strtol
|
|
silence format warning
|
|
|
|
--- a/lib/ext2.c
|
|
+++ b/lib/ext2.c
|
|
@@ -41,6 +41,7 @@
|
|
#include "asprintf.h"
|
|
#endif
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
#include <unistd.h>
|
|
#include "xar.h"
|
|
#include "arcmod.h"
|
|
--- a/lib/ea.c
|
|
+++ a/lib/ea.c
|
|
@@ -67,7 +67,7 @@
|
|
xar_prop_setvalue(XAR_EA(ret)->prop, NULL);
|
|
XAR_PROP(XAR_EA(ret)->prop)->attrs = xar_attr_new();
|
|
XAR_ATTR(XAR_PROP(XAR_EA(ret)->prop)->attrs)->key = strdup("id");
|
|
- asprintf((char **)&XAR_ATTR(XAR_PROP(XAR_EA(ret)->prop)->attrs)->value, "%lld", XAR_FILE(f)->nexteaid++);
|
|
+ asprintf((char **)&XAR_ATTR(XAR_PROP(XAR_EA(ret)->prop)->attrs)->value, PRId64, XAR_FILE(f)->nexteaid++);
|
|
|
|
xar_prop_pset(f, XAR_EA(ret)->prop, "name", name);
|
|
|