summaryrefslogtreecommitdiff
path: root/debian/patches/0004-libdiskfs-avoid-implicit-integer-conversion.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0004-libdiskfs-avoid-implicit-integer-conversion.patch')
-rw-r--r--debian/patches/0004-libdiskfs-avoid-implicit-integer-conversion.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/debian/patches/0004-libdiskfs-avoid-implicit-integer-conversion.patch b/debian/patches/0004-libdiskfs-avoid-implicit-integer-conversion.patch
deleted file mode 100644
index f3746374..00000000
--- a/debian/patches/0004-libdiskfs-avoid-implicit-integer-conversion.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 655f60be3622bfbd90e87a4038cc9c8190ad7c35 Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Fri, 6 Jun 2014 10:24:00 +0200
-Subject: [PATCH 4/9] libdiskfs: avoid implicit integer conversion
-
-* libdiskfs/boot-start.c (diskfs_boot_start): Avoid implicit integer
-conversion.
----
- libdiskfs/boot-start.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
-index a60a1d0..4cc7bb8 100644
---- a/libdiskfs/boot-start.c
-+++ b/libdiskfs/boot-start.c
-@@ -217,8 +217,9 @@ diskfs_start_bootstrap ()
- while (*initname == '/')
- initname++;
-
-- exec_argvlen = asprintf (&exec_argv, "/%s%c", initname, '\0');
-- assert (exec_argvlen != -1);
-+ int len = asprintf (&exec_argv, "/%s%c", initname, '\0');
-+ assert (len != -1);
-+ exec_argvlen = (size_t) len;
- err = argz_add_sep (&exec_argv, &exec_argvlen,
- diskfs_boot_command_line, ' ');
- assert_perror (err);
---
-2.0.0.rc2
-