summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/config/controlState.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/config/controlState.c')
-rw-r--r--hicn-light/src/config/controlState.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/config/controlState.c b/hicn-light/src/config/controlState.c
index 96c0529ed..c3b7d535b 100644
--- a/hicn-light/src/config/controlState.c
+++ b/hicn-light/src/config/controlState.c
@@ -55,7 +55,7 @@ int controlState_connectToFwdDeamon() {
int sockfd;
struct sockaddr_in servaddr;
- if ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
+ if ((sockfd = (int)socket(AF_INET, SOCK_STREAM, 0)) < 0) {
printf("\nSocket Creation Failed \n");
exit(EXIT_FAILURE);
}