Skip to content

Commit

Permalink
uci: fix arm64 compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
PolynomialDivision committed Jun 12, 2020
1 parent c2a6329 commit ada3bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/dawn_uci.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void uci_get_hostname(char* hostname)
{
len = dot - ptr.o->v.string;
}
snprintf(hostname, HOST_NAME_MAX, "%.*s", len, ptr.o->v.string);
snprintf(hostname, HOST_NAME_MAX, "%.*s", (int)len, ptr.o->v.string);
}

uci_free_context(c);
Expand Down

0 comments on commit ada3bf3

Please sign in to comment.