diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-05-11 15:14:34 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-05-11 15:14:34 +0000 |
commit | 208776ec0c5c77623637a28b88391067df24e682 (patch) | |
tree | d474825faeaa48869df57b5470a8ba417ebf4489 /pjlib-util/src | |
parent | b4e01cefd4f354128396e85f205ccfa0879bc319 (diff) |
HUGE changeset to make the rest of the libraries compile with C++ mode
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib-util/src')
-rw-r--r-- | pjlib-util/src/pjlib-util-test/encryption.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjlib-util/src/pjlib-util-test/encryption.c b/pjlib-util/src/pjlib-util-test/encryption.c index 43d5c7f0..7d91e463 100644 --- a/pjlib-util/src/pjlib-util-test/encryption.c +++ b/pjlib-util/src/pjlib-util-test/encryption.c @@ -384,7 +384,7 @@ static int rfc2202_test(void) } /* CRC32 test data, generated from crc32 test on a Linux box */ -struct +struct crc32_test_t { char *input; pj_uint32_t crc; @@ -551,7 +551,7 @@ int encryption_benchmark() if (!pool) return PJ_ENOMEM; - input = pj_pool_alloc(pool, input_len); + input = (pj_uint8_t*)pj_pool_alloc(pool, input_len); pj_memset(input, '\xaa', input_len); PJ_LOG(3, (THIS_FILE, " feeding %d Mbytes of data", |