[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/7] libstore: fix type of a counter
From: |
Etienne Brateau |
Subject: |
[PATCH 3/7] libstore: fix type of a counter |
Date: |
Wed, 19 Jan 2022 20:29:41 +0100 |
---
libstore/argp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstore/argp.c b/libstore/argp.c
index a399b48f..31bae116 100644
--- a/libstore/argp.c
+++ b/libstore/argp.c
@@ -198,7 +198,7 @@ store_parsed_open (const struct store_parsed *parsed, int
flags,
return open (0, store);
else
{
- int i;
+ size_t i;
char *name;
error_t err = 0;
struct store **stores = malloc (sizeof (struct store *) * num);
--
2.34.1
- [PATCH 1/7] libpager: fix a comparision between signed and unsigned, Etienne Brateau, 2022/01/19
- [PATCH 2/7] libpager: fix assertion unsigned against 0, Etienne Brateau, 2022/01/19
- [PATCH 3/7] libstore: fix type of a counter,
Etienne Brateau <=
- [PATCH 4/7] libdiskfs: improve asserts and remove a sign compare warning, Etienne Brateau, 2022/01/19
- [PATCH 7/7] proc: Fix variable type, Etienne Brateau, 2022/01/19
- [PATCH 6/7] libnetfs: fix type of variable, Etienne Brateau, 2022/01/19
- [PATCH 5/7] libps: fix some signed vs unsigned comparision, Etienne Brateau, 2022/01/19
- Re: [PATCH 1/7] libpager: fix a comparision between signed and unsigned, Samuel Thibault, 2022/01/19