Clean up a bunch of warnings when building with Xcode 6.1

This commit is contained in:
Cameron Gutman
2014-10-18 11:32:29 -04:00
parent 8a5643784e
commit 0758de960a
9 changed files with 25 additions and 17 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ static int addAttributeBinary(PSDP_OPTION *head, char* name, const void* payload
static int addAttributeString(PSDP_OPTION *head, char* name, const char* payload) {
// We purposefully omit the null terminating character
return addAttributeBinary(head, name, payload, strlen(payload));
return addAttributeBinary(head, name, payload, (int)strlen(payload));
}
static PSDP_OPTION getAttributesList(PSTREAM_CONFIGURATION streamConfig, struct in_addr targetAddress) {