aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1parser/asn1p_constr.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-09-05 10:40:28 +0000
committerLev Walkin <vlm@lionet.info>2004-09-05 10:40:28 +0000
commite972d935cbd64d4e92d164bd0d64f110321c09f1 (patch)
tree5d0d3aaad77220f1545f3c3b47b344fe8e890463 /libasn1parser/asn1p_constr.c
parenteb80581950fb3276362815b1647aad9c3bf44a10 (diff)
unsigned
Diffstat (limited to 'libasn1parser/asn1p_constr.c')
-rw-r--r--libasn1parser/asn1p_constr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libasn1parser/asn1p_constr.c b/libasn1parser/asn1p_constr.c
index 26f920f4..7a38f3c1 100644
--- a/libasn1parser/asn1p_constr.c
+++ b/libasn1parser/asn1p_constr.c
@@ -55,7 +55,7 @@ asn1p_constraint_clone(asn1p_constraint_t *src) {
clone = asn1p_constraint_new(src->_lineno);
if(clone) {
- int i;
+ unsigned int i;
clone->type = src->type;
clone->presence = src->presence;
@@ -92,7 +92,7 @@ asn1p_constraint_insert(asn1p_constraint_t *into, asn1p_constraint_t *what) {
* Make sure there's enough space to add an element.
*/
if(into->el_count == into->el_size) {
- int newsize = into->el_size?into->el_size<<2:4;
+ unsigned int newsize = into->el_size?into->el_size<<2:4;
void *p;
p = realloc(into->elements,
newsize * sizeof(into->elements[0]));