1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

fixed some compilation warnings.

This commit is contained in:
dan
1999-09-18 22:50:11 +00:00
parent 057da64de7
commit 3aa1d977b7

View File

@@ -1270,12 +1270,12 @@ typedef struct {
static int static int
myCompare(const void **d1, const void **d2) myCompare(const void *d1, const void *d2)
{ {
d1 = *d1; dir_data *p1 = *(dir_data**)d1;
d2 = *d2; dir_data *p2 = *(dir_data**)d2;
return strcmp(((dir_data*) d1)->name, ((dir_data*) d2)->name); return strcmp(p1->name, p2->name);
} }