[gcr] gcr: Suppress compiler warning



commit 1c8771886fb7f66dfde949e210ecc63ff89cf1b3
Author: Daiki Ueno <dueno src gnome org>
Date:   Mon Jan 8 10:16:09 2018 +0100

    gcr: Suppress compiler warning

 gcr/gcr-openssh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gcr/gcr-openssh.c b/gcr/gcr-openssh.c
index 75a196c..af4d550 100644
--- a/gcr/gcr-openssh.c
+++ b/gcr/gcr-openssh.c
@@ -265,7 +265,7 @@ read_buffer_mpi_to_der (EggBuffer *buffer,
        if (!asn)
                return FALSE;
 
-       egg_asn1x_set_string_as_raw (asn, data, len, NULL);
+       egg_asn1x_set_string_as_raw (asn, (guchar *)data, len, NULL);
        der_data = egg_asn1x_encode (asn, g_realloc);
        if (!der_data)
                goto out;


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