projects
/
oweals
/
cde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dtprintinfo: Coverity 89561
[oweals/cde.git]
/
cde
/
programs
/
dtlogin
/
session.c
diff --git
a/cde/programs/dtlogin/session.c
b/cde/programs/dtlogin/session.c
index 090e1394ca594566ab2d745e75996430edad9250..c5b587fe2e15de995db7ab3d52946dbaf7436220 100644
(file)
--- a/
cde/programs/dtlogin/session.c
+++ b/
cde/programs/dtlogin/session.c
@@
-257,12
+257,12
@@
catchAlrm( int arg )
longjmp (pingTime, 1);
}
longjmp (pingTime, 1);
}
-static int
-FileNameCompare (a, b)
#if defined(__STDC__)
#if defined(__STDC__)
- const void *a, *b;
+static int
+FileNameCompare (const char *a, const char *b)
#else
#else
- char *a, *b;
+static int
+FileNameCompare (char *a, char *b)
#endif
{
return strcoll (*(char **)a, *(char **)b);
#endif
{
return strcoll (*(char **)a, *(char **)b);