diff --git a/include/wrapper/Messaging.hpp b/include/wrapper/Messaging.hpp index ef5ee8b..dda88e2 100644 --- a/include/wrapper/Messaging.hpp +++ b/include/wrapper/Messaging.hpp @@ -98,7 +98,7 @@ struct FluidSCMessaging{ ForEach(args,[&typesMatch,&tagsIter,&tagsEnd,firstTag=tags.begin(),&argCount](auto& arg){ if(tagsIter == tagsEnd) { - if(std::distance(firstTag,tagsIter) < expectedArgCount) typesMatch = false; + if(std::distance(firstTag,tagsIter) < asSigned(expectedArgCount)) typesMatch = false; return; } char t = *(tagsIter++); @@ -169,7 +169,7 @@ struct FluidSCMessaging{ ForEach(msg-> args,[inWorld,&args,tagCount,n=0](auto& thisarg)mutable { - if(n++ < tagCount.value()) + if(n++ < asSigned(tagCount.value())) thisarg = ParamReader::fromArgs(inWorld, *args,thisarg,0); });