]> git.deb.at Git - pkg/abook.git/blobdiff - estr.c
Fixes to make Solaris cc happy
[pkg/abook.git] / estr.c
diff --git a/estr.c b/estr.c
index 9f8d7f074c6259b12410b0d96e921e563f309aa9..194ba52b798dfb19c1702ad3c22b142f038ffdd8 100644 (file)
--- a/estr.c
+++ b/estr.c
@@ -1,12 +1,10 @@
 
 /*
- *
- * estr.c
+ * $Id$
  *  
- * by JH <jheinonen@bigfoot.com>
+ * by JH <jheinonen@users.sourceforge.net>
  *
  * Copyright (C) Jaakko Heinonen
- *
  */
 
 
@@ -137,7 +135,7 @@ out:
 
 /*
  * filesel.c
- * by JH <jheinonen@bigfoot.com>
+ * by JH <jheinonen@users.sourceforge.net>
  *
  * Copyright (C) Jaakko Heinonen
  */
@@ -318,7 +316,7 @@ filesel_sort_list()
                qsort((void *)lst, fdp, sizeof(struct filesel_list_item),
                                filenamecmp );
 
-       qsort((void *)lst + fdp * sizeof(struct filesel_list_item),
+       qsort((void *)(lst + fdp * sizeof(struct filesel_list_item)),
                        FILESEL_LAST_ITEM - fdp + 1,
                        sizeof(struct filesel_list_item),
                        filenamecmp );