Skip to content
Snippets Groups Projects
Commit 4f52e7f9 authored by Steve McIntyre's avatar Steve McIntyre
Browse files

Fix 32-bit compilation

parent 93d4aaa5
No related branches found
No related tags found
No related merge requests found
grub2 (2.06-10) unstable; urgency=medium
* Fix 32-bit build with the osdep/devmapper/getroot patches.
-- Steve McIntyre <93sam@debian.org> Fri, 21 Apr 2023 01:14:13 +0100
grub2 (2.06-9) unstable; urgency=medium
[ Steve McIntyre ]
......
......@@ -108,7 +108,7 @@ index 2bf4264..cc3f7da 100644
+ params);
+ cipher = grub_strndup (c, seek_head - c);
+ if (cipher == NULL)
+ grub_util_error (_("could not strndup cipher of length `%lu'"), seek_head - c);
+ grub_util_error (_("could not strndup cipher of length `%u'"), seek_head - c);
+ remaining -= seek_head - c + 1;
+ c = seek_head + 1;
+
......@@ -119,7 +119,7 @@ index 2bf4264..cc3f7da 100644
+ params);
+ cipher_mode = grub_strndup (c, seek_head - c);
+ if (cipher_mode == NULL)
+ grub_util_error (_("could not strndup cipher_mode of length `%lu'"), seek_head - c);
+ grub_util_error (_("could not strndup cipher_mode of length `%u'"), seek_head - c);
+
+ remaining -= seek_head - c + 1;
+ c = seek_head + 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment