[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU libtasn1 branch, master, updated. libtasn1_4.7-10-g9f92f2c
From: |
Nikos Mavrogiannopoulos |
Subject: |
[SCM] GNU libtasn1 branch, master, updated. libtasn1_4.7-10-g9f92f2c |
Date: |
Sun, 03 Apr 2016 07:51:00 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU libtasn1".
http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=9f92f2cfd10d6e7b0156002cdb9d8634b6d3909b
The branch, master has been updated
via 9f92f2cfd10d6e7b0156002cdb9d8634b6d3909b (commit)
from bd6f37713d139b5d102df70248ee9af3422f0339 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9f92f2cfd10d6e7b0156002cdb9d8634b6d3909b
Author: Pascal Cuoq <address@hidden>
Date: Sat Apr 2 16:08:38 2016 +0200
%x expects an unsigned int, but unsigned char is promoted to int
-----------------------------------------------------------------------
Summary of changes:
lib/structure.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/structure.c b/lib/structure.c
index eec10db..fc33547 100644
--- a/lib/structure.c
+++ b/lib/structure.c
@@ -834,7 +834,7 @@ asn1_print_structure (FILE * out, asn1_node structure,
const char *name,
fprintf (out, " value:0x");
if (len > 0)
for (k = 0; k < len; k++)
- fprintf (out, "%02x", (p->value)[k + len2]);
+ fprintf (out, "%02x", (unsigned) (p->value)[k + len2]);
}
break;
case ASN1_ETYPE_ENUMERATED:
@@ -845,7 +845,7 @@ asn1_print_structure (FILE * out, asn1_node structure,
const char *name,
fprintf (out, " value:0x");
if (len > 0)
for (k = 0; k < len; k++)
- fprintf (out, "%02x", (p->value)[k + len2]);
+ fprintf (out, "%02x", (unsigned) (p->value)[k + len2]);
}
break;
case ASN1_ETYPE_BOOLEAN:
@@ -867,7 +867,7 @@ asn1_print_structure (FILE * out, asn1_node structure,
const char *name,
fprintf (out, " value(%i):",
(len - 1) * 8 - (p->value[len2]));
for (k = 1; k < len; k++)
- fprintf (out, "%02x", (p->value)[k + len2]);
+ fprintf (out, "%02x", (unsigned) (p->value)[k + len2]);
}
}
break;
@@ -907,7 +907,7 @@ asn1_print_structure (FILE * out, asn1_node structure,
const char *name,
fprintf (out, " value:");
if (len > 0)
for (k = 0; k < len; k++)
- fprintf (out, "%02x", (p->value)[k + len2]);
+ fprintf (out, "%02x", (unsigned) (p->value)[k + len2]);
}
break;
case ASN1_ETYPE_OBJECT_ID:
@@ -922,7 +922,7 @@ asn1_print_structure (FILE * out, asn1_node structure,
const char *name,
fprintf (out, " value:");
if (len2 > 0)
for (k = 0; k < len2; k++)
- fprintf (out, "%02x", (p->value)[k + len3]);
+ fprintf (out, "%02x", (unsigned) (p->value)[k + len3]);
}
break;
case ASN1_ETYPE_SET:
hooks/post-receive
--
GNU libtasn1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU libtasn1 branch, master, updated. libtasn1_4.7-10-g9f92f2c,
Nikos Mavrogiannopoulos <=