rcolebaugh / rpms / bash

Forked from rpms/bash a year ago
Clone
b92f7d
diff -up bash-4.2/variables.h.size_type bash-4.2/variables.h
b92f7d
--- bash-4.2/variables.h.size_type	2012-11-29 10:33:25.109036844 +0100
b92f7d
+++ bash-4.2/variables.h	2012-11-29 10:46:12.718530162 +0100
b92f7d
@@ -95,8 +95,8 @@ typedef struct variable {
b92f7d
 
b92f7d
 typedef struct _vlist {
b92f7d
   SHELL_VAR **list;
b92f7d
-  int list_size;	/* allocated size */
b92f7d
-  int list_len;		/* current number of entries */
b92f7d
+  size_t list_size;	/* allocated size */
b92f7d
+  size_t list_len;	/* current number of entries */
b92f7d
 } VARLIST;
b92f7d
 
b92f7d
 /* The various attributes that a given variable can have. */