comparison mcabber/src/compl.c @ 735:2f027806cd48

Some code cleanup This patch will kill a few pedantic warnings
author Mikael Berthe <mikael@lilotux.net>
date Thu, 09 Mar 2006 20:15:37 +0100
parents ee03b56b93ee
children ae23c8826efb
comparison
equal deleted inserted replaced
734:1d9f0efcfcee 735:2f027806cd48
58 // be freed by the caller when not used anymore. 58 // be freed by the caller when not used anymore.
59 void new_completion(char *prefix, GSList *compl_cat) 59 void new_completion(char *prefix, GSList *compl_cat)
60 { 60 {
61 compl *c; 61 compl *c;
62 GSList *sl_cat; 62 GSList *sl_cat;
63 int len = strlen(prefix); 63 size_t len = strlen(prefix);
64 64
65 if (InputCompl) { // This should not happen, but hey... 65 if (InputCompl) { // This should not happen, but hey...
66 cancel_completion(); 66 cancel_completion();
67 } 67 }
68 68