libtasn1-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU libtasn1 branch, master, updated. libtasn1_2_13-4-gc5226f5


From: Simon Josefsson
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_2_13-4-gc5226f5
Date: Sat, 18 Aug 2012 08:06:45 +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=c5226f57807bf53fd3aff5ce2f36d62f2e9b7553

The branch, master has been updated
       via  c5226f57807bf53fd3aff5ce2f36d62f2e9b7553 (commit)
      from  d04da8d99388e56603e7a65208577115e740e021 (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 c5226f57807bf53fd3aff5ce2f36d62f2e9b7553
Author: Simon Josefsson <address@hidden>
Date:   Sat Aug 18 10:06:39 2012 +0200

    Fix compilation warnings.

-----------------------------------------------------------------------

Summary of changes:
 tests/Test_indefinite.c |    2 +-
 tests/Test_simple.c     |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/Test_indefinite.c b/tests/Test_indefinite.c
index 1b84d13..f77e69a 100644
--- a/tests/Test_indefinite.c
+++ b/tests/Test_indefinite.c
@@ -103,7 +103,7 @@ main (int argc, char *argv[])
   if (result != ASN1_SUCCESS)
     {
       asn1_perror (result);
-      printf ("Cannot decode BER data (size %ld)\n", size);
+      printf ("Cannot decode BER data (size %ld)\n", (long) size);
       exit (1);
     }
 
diff --git a/tests/Test_simple.c b/tests/Test_simple.c
index 9224036..7527184 100644
--- a/tests/Test_simple.c
+++ b/tests/Test_simple.c
@@ -117,7 +117,7 @@ main (int argc, char *argv[])
 
       if (der_len != tv[i].derlen || memcmp (der, tv[i].der, der_len) != 0)
        {
-         fprintf (stderr, "asn1_bit_der iter %ld\n", i);
+         fprintf (stderr, "asn1_bit_der iter %lu\n", (unsigned long) i);
          return 1;
        }
 
@@ -128,7 +128,7 @@ main (int argc, char *argv[])
       if (result != ASN1_SUCCESS || ret_len != tv[i].derlen
          || bit_len != tv[i].bitlen)
        {
-         fprintf (stderr, "asn1_get_bit_der iter %ld\n", i);
+         fprintf (stderr, "asn1_get_bit_der iter %lu\n", (unsigned long) i);
          return 1;
        }
     }


hooks/post-receive
-- 
GNU libtasn1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]