Fix Build Warning 60/190560/1 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.021828 accepted/tizen/unified/20181005.012454 submit/tizen/20181004.012642 submit/tizen_5.0/20181101.000004
authorDongsun Lee <ds73.lee@samsung.com>
Thu, 4 Oct 2018 01:23:48 +0000 (10:23 +0900)
committerDongsun Lee <ds73.lee@samsung.com>
Thu, 4 Oct 2018 01:23:48 +0000 (10:23 +0900)
Change-Id: Ie5e737100aaa44a72d75376b69a15a0325bdd62e
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
tests/example_capi.c

index cf5540e5a8691baa3050e244a82ccca03d7fb1f5..03d2559e50d1bcff150d7a43c4debed864905644 100644 (file)
@@ -57,7 +57,7 @@ int main(int argc, char ** argv)
                printf("Can't get key length\n");
                goto exit;
        }
-       printf("Private key is %ld bits\n", key_len);
+       printf("Private key is %d bits\n", key_len);
        printf("Private key is %s\n", key_type);
 
        result = dcm_create_signature(key_ctx, DCM_DIGEST_SHA256, "12345678901234567890123456789012", 32, &signature, &signature_len);