]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
cast isc_buffer_usedlength() to (int)
authorMark Andrews <marka@isc.org>
Wed, 10 Mar 2010 02:17:52 +0000 (02:17 +0000)
committerMark Andrews <marka@isc.org>
Wed, 10 Mar 2010 02:17:52 +0000 (02:17 +0000)
bin/tools/isc-hmac-fixup.c

index 3efad6e57f33614a98bf093be426741e29e7f622..daf391a81cd68c8e3f5d55ea7cacbacc0d8da37e 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: isc-hmac-fixup.c,v 1.3 2010/01/07 23:48:53 tbox Exp $ */
+/* $Id: isc-hmac-fixup.c,v 1.4 2010/03/10 02:17:52 marka Exp $ */
 
 #include <config.h>
 
@@ -131,6 +131,6 @@ main(int argc, char **argv)  {
                fprintf(stderr, "error: %s\n", isc_result_totext(result));
                return (1);
        }
-       fprintf(stdout, "%.*s\n", isc_buffer_usedlength(&buf), base64);
+       fprintf(stdout, "%.*s\n", (int)isc_buffer_usedlength(&buf), base64);
        return (0);
 }