projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e936260
)
Fixed coverity #10198
author
Bart Polot
<bart@net.in.tum.de>
Fri, 28 Oct 2011 11:44:26 +0000
(11:44 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Fri, 28 Oct 2011 11:44:26 +0000
(11:44 +0000)
src/mesh/test_mesh_small.c
patch
|
blob
|
history
diff --git
a/src/mesh/test_mesh_small.c
b/src/mesh/test_mesh_small.c
index e949a89e95296c345274b8a312550927110ca552..3c80a80f05b2866b530cfc9d86d540fae95cde24 100644
(file)
--- a/
src/mesh/test_mesh_small.c
+++ b/
src/mesh/test_mesh_small.c
@@
-794,7
+794,7
@@
run (void *cls, char *const *args, const char *cfgfile,
return;
}
- mesh_peers = GNUNET_malloc (sizeof(
GNUNET_PEER_Id
) * (num_peers + 1));
+ mesh_peers = GNUNET_malloc (sizeof(
uint16_t
) * (num_peers + 1));
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_number (testing_cfg, "test_mesh_small",