]> git.ipfire.org Git - ipfire-3.x.git/blame - bash/patches/bash-4.2-size_type.patch
bash: Update to 4.3
[ipfire-3.x.git] / bash / patches / bash-4.2-size_type.patch
CommitLineData
56ba7d19
MT
1diff -up bash-4.2/variables.h.size_type bash-4.2/variables.h
2--- bash-4.2/variables.h.size_type 2012-11-29 10:33:25.109036844 +0100
3+++ bash-4.2/variables.h 2012-11-29 10:46:12.718530162 +0100
4@@ -95,8 +95,8 @@ typedef struct variable {
5
6 typedef struct _vlist {
7 SHELL_VAR **list;
8- int list_size; /* allocated size */
9- int list_len; /* current number of entries */
10+ size_t list_size; /* allocated size */
11+ size_t list_len; /* current number of entries */
12 } VARLIST;
13
14 /* The various attributes that a given variable can have. */