diff options
Diffstat (limited to 'pd/src/u_pdreceive.c')
-rw-r--r-- | pd/src/u_pdreceive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pd/src/u_pdreceive.c b/pd/src/u_pdreceive.c index e61397ed..8a193292 100644 --- a/pd/src/u_pdreceive.c +++ b/pd/src/u_pdreceive.c @@ -128,7 +128,7 @@ static void addport(int fd) nfdpoll++; if (fd >= maxfd) maxfd = fd + 1; fp->fdp_outlen = fp->fdp_discard = fp->fdp_gotsemi = 0; - if (!(fp->fdp_outbuf = malloc(BUFSIZE))) + if (!(fp->fdp_outbuf = (char*) malloc(BUFSIZE))) { fprintf(stderr, "out of memory"); exit(1); |