about summary refs log tree commit diff stats
path: root/src/LYStrings.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2005-01-02 23:49:58 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2005-01-02 23:49:58 -0500
commit1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f (patch)
treea83fd699321c8545516d56abcda6c9718fd1f4fb /src/LYStrings.c
parentbed9a2c79bfdde6e4ec89d9d02a5d6e88ae12f79 (diff)
downloadlynx-snapshots-1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f.tar.gz
snapshot of project "lynx", label v2-8-6dev_10
Diffstat (limited to 'src/LYStrings.c')
-rw-r--r--src/LYStrings.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/LYStrings.c b/src/LYStrings.c
index 14897d65..ec12ea65 100644
--- a/src/LYStrings.c
+++ b/src/LYStrings.c
@@ -277,7 +277,7 @@ static HTList *whichRecall(RecallType recall)
  */
 static void LYRemoveFromCloset(HTList *list)
 {
-    char *data = HTList_removeFirstObject(list);
+    void *data = HTList_removeFirstObject(list);
 
     if (data != 0)
 	FREE(data);
@@ -305,7 +305,7 @@ static char *LYFindInCloset(RecallType recall, char *base)
     unsigned len = strlen(base);
 
     while (!HTList_isEmpty(list)) {
-	data = HTList_nextObject(list);
+	data = (char *) HTList_nextObject(list);
 	if (!strncmp(base, data, len))
 	    return (data);
     }
@@ -3724,7 +3724,7 @@ static char **sortedList(HTList *list, BOOL ignorecase)
 	outofmem(__FILE__, "sortedList");
 
     while (!HTList_isEmpty(list))
-	result[j++] = HTList_nextObject(list);
+	result[j++] = (char *) HTList_nextObject(list);
 
     if (count > 1) {
 	qsort((char *) result, count, sizeof(*result),
@@ -3879,7 +3879,8 @@ int LYhandlePopupList(int cur_choice,
     static char prev_target_buffer[MAX_LINE];	/* Next search buffer */
     static BOOL first = TRUE;
     char *cp;
-    int ch = 0, recall;
+    int ch = 0;
+    RecallType recall;
     int QueryTotal;
     int QueryNum;
     BOOLEAN FirstRecall = TRUE;