Mercurial > hg > piper-cpp
diff vamp-support/PluginHandleMapper.h @ 81:c6b6051b1b1a
Build rpcrequest types. May be a misdirection
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Tue, 11 Oct 2016 16:25:52 +0100 |
parents | 81e1c48e97f9 |
children | 427c4c725085 |
line wrap: on
line diff
--- a/vamp-support/PluginHandleMapper.h Tue Oct 11 15:49:28 2016 +0100 +++ b/vamp-support/PluginHandleMapper.h Tue Oct 11 16:25:52 2016 +0100 @@ -60,7 +60,7 @@ class PluginHandleMapper { public: - typedef int32_t Handle; + typedef uint32_t Handle; // unsigned to avoid undefined behaviour on possible wrap const Handle INVALID_HANDLE = 0; virtual ~PluginHandleMapper() noexcept { }