* request_tbl.c (ss_add_request_table): Do not cast argument to
authorEzra Peisach <epeisach@mit.edu>
Thu, 7 Jun 2001 17:59:39 +0000 (17:59 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 7 Jun 2001 17:59:39 +0000 (17:59 +0000)
realloc() to char *.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13291 dc483132-0cff-0310-8789-dd5450dbe970

src/util/ss/ChangeLog
src/util/ss/request_tbl.c

index 60a9ac1c6fd48a3dc6a275df8d4ada5a2270234f..54848b691cedd60a96bb41ae3e56bc6b999cfcae 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-07  Ezra Peisach  <epeisach@mit.edu>
+
+       * request_tbl.c (ss_add_request_table): Do not cast argument to
+       realloc() to char *.
+
 2001-04-17  Ken Raeburn  <raeburn@mit.edu>
 
        * Makefile.in (unixmac): Target deleted.
index 6404b5d6b0cb52983663218d6be12b61fe85a862..a9e751e31e1b031fa7f837463b60996a3605825c 100644 (file)
@@ -24,7 +24,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((char *)info->rqt_tables,
+       info->rqt_tables = (ssrt **)realloc(info->rqt_tables,
                                            (unsigned)size*sizeof(ssrt));
        if (info->rqt_tables == (ssrt **)NULL) {
                *code_ptr = errno;