framework/media : Correct wrong casting type.
SocketOutputDataSource::write return type is ssize_t
@@ -100,7 +100,7 @@ bool SocketOutputDataSource::isPrepare()
ssize_t SocketOutputDataSource::write(unsigned char* buf, size_t size)
{
if (!buf) {
- return (size_t)0;
+ return (ssize_t)0;
}
return send(mSockFd, buf, size, 0);
