diff options
Diffstat (limited to 'src/util/ss/request_tbl.c')
-rw-r--r-- | src/util/ss/request_tbl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/ss/request_tbl.c b/src/util/ss/request_tbl.c index a9e751e..46eb3a0 100644 --- a/src/util/ss/request_tbl.c +++ b/src/util/ss/request_tbl.c @@ -25,7 +25,7 @@ ss_add_request_table(sci_idx, rqtbl_ptr, position, code_ptr) /* size == C subscript of NULL == #elements */ size += 2; /* new element, and NULL */ info->rqt_tables = (ssrt **)realloc(info->rqt_tables, - (unsigned)size*sizeof(ssrt)); + size*sizeof(ssrt)); if (info->rqt_tables == (ssrt **)NULL) { *code_ptr = errno; return; |