projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include sys/socket.h, arpa/inet.h
[yaz-moved-to-github.git]
/
test
/
tstnmem.c
diff --git
a/test/tstnmem.c
b/test/tstnmem.c
index
aeda13a
..
f473929
100644
(file)
--- a/
test/tstnmem.c
+++ b/
test/tstnmem.c
@@
-26,7
+26,7
@@
void tst(void)
for (j = 1; j<500; j++)
{
for (j = 1; j<500; j++)
{
- cp = nmem_malloc(n, j);
+ cp = (char *) nmem_malloc(n, j);
YAZ_CHECK(cp);
if (sizeof(long) >= j)
*(long*) cp = 123L;
YAZ_CHECK(cp);
if (sizeof(long) >= j)
*(long*) cp = 123L;
@@
-40,7
+40,7
@@
void tst(void)
for (j = 2000; j<20000; j+= 2000)
{
for (j = 2000; j<20000; j+= 2000)
{
- cp = nmem_malloc(n, j);
+ cp = (char *) nmem_malloc(n, j);
YAZ_CHECK(cp);
}
nmem_destroy(n);
YAZ_CHECK(cp);
}
nmem_destroy(n);