diff options
Diffstat (limited to 'lib/libss/help.c')
-rw-r--r-- | lib/libss/help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libss/help.c b/lib/libss/help.c index 48aece43..078224d 100644 --- a/lib/libss/help.c +++ b/lib/libss/help.c @@ -111,7 +111,7 @@ void ss_add_info_dir(sci_idx, info_dir, code_ptr) dirs = info->info_dirs; for (n_dirs = 0; dirs[n_dirs] != (char *)NULL; n_dirs++) ; /* get number of non-NULL dir entries */ - dirs = (char **)realloc((char *)dirs, + dirs = (char **)reallocf((char *)dirs, (unsigned)(n_dirs + 2)*sizeof(char *)); if (dirs == (char **)NULL) { info->info_dirs = (char **)NULL; |