mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 13:28:05 +01:00
fixed some compilation warnings.
This commit is contained in:
@@ -1270,12 +1270,12 @@ typedef struct {
|
||||
|
||||
|
||||
static int
|
||||
myCompare(const void **d1, const void **d2)
|
||||
myCompare(const void *d1, const void *d2)
|
||||
{
|
||||
d1 = *d1;
|
||||
d2 = *d2;
|
||||
|
||||
return strcmp(((dir_data*) d1)->name, ((dir_data*) d2)->name);
|
||||
dir_data *p1 = *(dir_data**)d1;
|
||||
dir_data *p2 = *(dir_data**)d2;
|
||||
|
||||
return strcmp(p1->name, p2->name);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user