agent: Minor fix for Windows.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 24 Jul 2017 06:26:20 +0000 (15:26 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 24 Jul 2017 06:26:20 +0000 (15:26 +0900)
* agent/command-ssh.c (serve_mmapped_ssh_request): Add const
qualifier.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/command-ssh.c

index c5897ef..9d45a18 100644 (file)
@@ -3707,7 +3707,7 @@ serve_mmapped_ssh_request (ctrl_t ctrl,
   gpg_error_t err;
   int send_err = 0;
   int valid_response = 0;
-  ssh_request_spec_t *spec;
+  const ssh_request_spec_t *spec;
   u32 msglen;
   estream_t request_stream, response_stream;