28 lines
727 B
Diff
28 lines
727 B
Diff
From 49b35508503812dbac5286d3f6dda53cdb7b7b59 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Klausner <tk@giga.or.at>
|
|
Date: Sun, 15 Apr 2018 21:09:22 +0200
|
|
Subject: [PATCH] Fix type of buffer to match zip_random signature.
|
|
|
|
Should fix a signedness warning on macOS, addressing
|
|
https://github.com/nih-at/libzip/pull/43/
|
|
---
|
|
regress/nonrandomopentest.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/regress/nonrandomopentest.c b/regress/nonrandomopentest.c
|
|
index 1da7497d..b20a4698 100644
|
|
--- a/regress/nonrandomopentest.c
|
|
+++ b/regress/nonrandomopentest.c
|
|
@@ -38,7 +38,7 @@
|
|
|
|
int
|
|
main(int argc, const char *argv[]) {
|
|
- char buf[1024];
|
|
+ zip_uint8_t buf[1024];
|
|
int i;
|
|
|
|
#ifdef HAVE_CRYPTO
|
|
--
|
|
2.36.1
|
|
|