Skip to content

Commit

Permalink
Fixed a warning in OscPkt
Browse files Browse the repository at this point in the history
  • Loading branch information
Breeder committed Sep 8, 2015
1 parent a027227 commit 29ea86d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OscPkt/udp.h
Expand Up @@ -353,8 +353,8 @@ struct UdpSocket {
for (rp = result; rp && handle==-1; rp = rp->ai_next) {


handle = socket(rp->ai_family, rp->ai_socktype,
rp->ai_protocol);
handle = (int)socket(rp->ai_family, rp->ai_socktype,
rp->ai_protocol);
if (handle == -1)
continue;

Expand Down

0 comments on commit 29ea86d

Please sign in to comment.