1
0
mirror of http://galexander.org/git/simplesshd.git synced 2025-01-30 08:51:32 +00:00

cast away the const on DROPBEAR_PIDFILE to get rid of the last warning.

that's it for warnings.
This commit is contained in:
Greg Alexander 2016-06-18 16:06:10 -04:00
parent 2a7b7465fa
commit f74a71fdd4

View File

@ -257,7 +257,7 @@ much traffic. */
/* The default file to store the daemon's process ID, for shutdown
scripts etc. This can be overridden with the -P flag */
#define DROPBEAR_PIDFILE conf_path_file("dropbear.pid")
#define DROPBEAR_PIDFILE ((char *)conf_path_file("dropbear.pid"))
/* The command to invoke for xauth when using X11 forwarding.
* "-q" for quiet */