]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ssh-generator: fix pointer cast type
authorMike Yuan <me@yhndnzj.com>
Wed, 8 May 2024 10:12:35 +0000 (18:12 +0800)
committerMike Yuan <me@yhndnzj.com>
Wed, 8 May 2024 10:20:59 +0000 (18:20 +0800)
src/ssh-generator/ssh-generator.c

index 3b9987b581f65210f73bf5e7ef556a1c0da34cf3..c671b4170336686da48741375090035329ddd5b8 100644 (file)
@@ -400,7 +400,7 @@ static int parse_credentials(void) {
         size_t sz = 0;
         int r;
 
-        r = read_credential_with_decryption("ssh.listen", (void*) &b, &sz);
+        r = read_credential_with_decryption("ssh.listen", (void**) &b, &sz);
         if (r <= 0)
                 return r;