When we pass a string as auxillary data (type long), be sure to convert

it to a suitable type for the initialization.
This commit is contained in:
peter 2003-10-26 03:12:47 +00:00
parent 3957af6745
commit ee993cd50a
2 changed files with 4 additions and 2 deletions

View File

@ -1451,7 +1451,8 @@ DMenu MenuNetworking = {
{ " NFS server", "This machine will be an NFS server",
dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" },
{ " Ntpdate", "Select a clock-synchronization server",
dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', "ntpdate_enable=YES" },
dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']',
(uintptr_t)"ntpdate_enable=YES" },
{ " PCNFSD", "Run authentication server for clients with PC-NFS.",
dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" },
{ " rpcbind", "RPC port mapping daemon (formerly portmapper)",

View File

@ -1451,7 +1451,8 @@ DMenu MenuNetworking = {
{ " NFS server", "This machine will be an NFS server",
dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" },
{ " Ntpdate", "Select a clock-synchronization server",
dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', "ntpdate_enable=YES" },
dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']',
(uintptr_t)"ntpdate_enable=YES" },
{ " PCNFSD", "Run authentication server for clients with PC-NFS.",
dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" },
{ " rpcbind", "RPC port mapping daemon (formerly portmapper)",