Fix warning unsigned/signed comparison.
This commit is contained in:
parent
438427127f
commit
9d13663e83
@ -75,7 +75,7 @@ namespace cling {
|
||||
if (write(pipeToJupyterFD, &mimeTypeSize, sizeof(long)) != sizeof(long))
|
||||
return false;
|
||||
if (write(pipeToJupyterFD, mimeType.c_str(), mimeType.size() + 1)
|
||||
!= mimeType.size() + 1)
|
||||
!= (long)(mimeType.size() + 1))
|
||||
return false;
|
||||
const MIMEDataRef& mimeData = iContent.second;
|
||||
if (write(pipeToJupyterFD, &mimeData.m_Size, sizeof(long))
|
||||
|
Loading…
x
Reference in New Issue
Block a user