freebsd-ports/audio/ncmpcpp/files/patch-src_bindings.cpp
Dmitry Marakasov a1765ce513 - Fix build on armv6
Approved by:	portmgr blanket
2015-08-12 21:06:25 +00:00

11 lines
492 B
C++

--- src/bindings.cpp.orig 2015-07-05 02:18:34 UTC
+++ src/bindings.cpp
@@ -108,7 +108,7 @@ Actions::BaseAction *parseActionLine(con
// push single character into input queue
std::string arg = getEnclosedString(line, '"', '"', 0);
Key k = stringToSpecialKey(arg);
- auto queue = std::vector<int>{ k.getChar() };
+ auto queue = std::vector<int>{ (int)k.getChar() };
if (k != Key::noOp)
result = new Actions::PushCharacters(&Global::wFooter, std::move(queue));
else