HUGE changeset to make the rest of the libraries compile with C++ mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjlib-util/src/pjlib-util-test/encryption.c b/pjlib-util/src/pjlib-util-test/encryption.c
index 43d5c7f..7d91e46 100644
--- a/pjlib-util/src/pjlib-util-test/encryption.c
+++ b/pjlib-util/src/pjlib-util-test/encryption.c
@@ -384,7 +384,7 @@
}
/* 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 @@
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",