diff options
author | Jeremy Allison <jra@samba.org> | 2000-01-11 20:12:46 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-01-11 20:12:46 +0000 |
commit | 8f4e672094546e9a3e06b8c2da0607809ecb2cab (patch) | |
tree | f24608f5ed4239e53350420cd417fc5fef6a0357 /source3 | |
parent | ec5b3043bfdf2a92e1dfeead0fa70f1c5d61cbdb (diff) | |
download | samba-8f4e672094546e9a3e06b8c2da0607809ecb2cab.tar.gz samba-8f4e672094546e9a3e06b8c2da0607809ecb2cab.tar.bz2 samba-8f4e672094546e9a3e06b8c2da0607809ecb2cab.zip |
Fixed pointer arithmetic found by IRIX compiler.
Jeremy.
(This used to be commit 20d72e8959fc800836369e4c970f7cb84b95ac9a)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/talloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/talloc.c b/source3/lib/talloc.c index 518237cde8..9ba793092d 100644 --- a/source3/lib/talloc.c +++ b/source3/lib/talloc.c @@ -75,7 +75,7 @@ void *talloc(TALLOC_CTX *t, size_t size) t->list = c; } - p = t->list->ptr + t->list->alloc_size; + p = ((char *)t->list->ptr) + t->list->alloc_size; t->list->alloc_size += size; return p; } |