aboutsummaryrefslogtreecommitdiff
path: root/test/heartbeat_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/heartbeat_test.c')
-rw-r--r--test/heartbeat_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/heartbeat_test.c b/test/heartbeat_test.c
index 491bbed..42cbc02 100644
--- a/test/heartbeat_test.c
+++ b/test/heartbeat_test.c
@@ -211,7 +211,7 @@ static int execute_heartbeat(HEARTBEAT_TEST_FIXTURE fixture)
* Make a local copy of the request, since it gets overwritten at some
* point
*/
- memcpy((char *)sent_buf, (const char *)payload, sizeof(sent_buf));
+ memcpy(sent_buf, payload, sizeof(sent_buf));
return_value = fixture.process_heartbeat(s, s->rlayer.rrec.data,
s->rlayer.rrec.length);