1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

xdmauth.c: fix some implicit-int warnings

This commit is contained in:
Jon Trulson 2021-10-23 14:24:23 -06:00
parent d880853113
commit 03c71dd23e

View file

@ -246,7 +246,7 @@ void XdmGetXdmcpAuth (struct protoDisplay *pdpy, unsigned short authorizationNam
'a' <= c && c <= 'f' ? c - 'a' + 10 : \
'A' <= c && c <= 'F' ? c - 'A' + 10 : -1)
static
static int
HexToBinary (char *key)
{
char *out, *in;
@ -276,7 +276,7 @@ HexToBinary (char *key)
* routine accepts either plain ascii strings for keys, or hex-encoded numbers
*/
XdmGetKey (struct protoDisplay *pdpy, ARRAY8Ptr displayID)
int XdmGetKey (struct protoDisplay *pdpy, ARRAY8Ptr displayID)
{
FILE *keys;
char line[1024], id[1024], key[1024];
@ -315,7 +315,7 @@ XdmGetKey (struct protoDisplay *pdpy, ARRAY8Ptr displayID)
}
/*ARGSUSED*/
XdmCheckAuthentication (struct protoDisplay *pdpy, ARRAY8Ptr displayID,
int XdmCheckAuthentication (struct protoDisplay *pdpy, ARRAY8Ptr displayID,
ARRAY8Ptr authenticationName, ARRAY8Ptr authenticationData)
{
XdmAuthKeyPtr incoming;