cwEuCon.cpp : Fixed printf() format specifier warning.

This commit is contained in:
kevin.larke 2020-04-16 11:11:44 -04:00
parent 85993dcc42
commit ddfd1be7bb

View File

@ -604,7 +604,7 @@ namespace cw
const char* name = (const char*)(u+6); const char* name = (const char*)(u+6);
const char* label = "MC Mix - "; const char* label = "MC Mix - ";
printf("%.*s|%li\n", name[0], name+1, strlen(label) ); printf("%.*s|%i\n", name[0], name+1, strlen(label) );
// if this a 'MC Mix' DNS-SD SRV reply // if this a 'MC Mix' DNS-SD SRV reply
if( strncmp(label, name+1, strlen(label)) == 0 ) if( strncmp(label, name+1, strlen(label)) == 0 )