Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
conform to ANSI C
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Zinkovsky committed Jan 16, 2012
1 parent 71f6c0e commit f5bd21f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test-eio-overflow.c
Expand Up @@ -46,9 +46,11 @@ void after_work_cb(uv_work_t* work) {


void make_eio_req(void) {
uv_work_t* w;

opened++;

uv_work_t* w = (uv_work_t*) malloc(sizeof(*w));
w = (uv_work_t*) malloc(sizeof(*w));
ASSERT(w != NULL);

uv_queue_work(uv_default_loop(), w, work_cb, after_work_cb);
Expand Down

0 comments on commit f5bd21f

Please sign in to comment.