head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @// @; 1.1 date 2026.01.08.17.52.19; author kikadf; state Exp; branches; next ; commitid 4j0vvtbc75jUeCpG; desc @@ 1.1 log @ net/megacmd: fix crash on NetBSD-11 @ text @$NetBSD$ * Fix ctype(3) tolower usage --- sdk/src/node.cpp.orig 2026-01-03 22:32:23.317953423 +0000 +++ sdk/src/node.cpp @@@@ -197,7 +197,7 @@@@ bool Node::getExtension(std::string& ext ext = nodeName.substr(dotPos + 1); for (auto& c : ext) { - c = static_cast(tolower(c)); + c = static_cast(tolower(static_cast(c))); } return true; } @