diff --git a/win32/registry.cpp b/win32/registry.cpp index 62da94f7..039ad346 100644 --- a/win32/registry.cpp +++ b/win32/registry.cpp @@ -94,7 +94,7 @@ key::values (void) const if (ERROR_SUCCESS != err) win32_error::throw_code (err); - CHECK_GT (size, 0); + CHECK_GT (size, 0u); name.resize (size - 1); all.insert (std::move (name));