diff options
| author | Ezra Peisach <epeisach@mit.edu> | 2001-06-07 17:59:39 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 2001-06-07 17:59:39 +0000 |
| commit | ee24c380dd049623efe2b9377a2e9afefa0f747c (patch) | |
| tree | 75214ae7fa228dc57d504506a2f30f8ad5e69fec /src/util/ss | |
| parent | 52e601ce99f2f53817d40fbfa948b631858d2a84 (diff) | |
| download | krb5-ee24c380dd049623efe2b9377a2e9afefa0f747c.tar.gz krb5-ee24c380dd049623efe2b9377a2e9afefa0f747c.tar.xz krb5-ee24c380dd049623efe2b9377a2e9afefa0f747c.zip | |
* request_tbl.c (ss_add_request_table): Do not cast argument to
realloc() to char *.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13291 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/ss')
| -rw-r--r-- | src/util/ss/ChangeLog | 5 | ||||
| -rw-r--r-- | src/util/ss/request_tbl.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/util/ss/ChangeLog b/src/util/ss/ChangeLog index 60a9ac1c6..54848b691 100644 --- a/src/util/ss/ChangeLog +++ b/src/util/ss/ChangeLog @@ -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. diff --git a/src/util/ss/request_tbl.c b/src/util/ss/request_tbl.c index 6404b5d6b..a9e751e31 100644 --- a/src/util/ss/request_tbl.c +++ b/src/util/ss/request_tbl.c @@ -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; |
