| Index: real_x_connection.cc
|
| diff --git a/real_x_connection.cc b/real_x_connection.cc
|
| index ae11100f0d73e9cc0a90ac295897ab124db4ff78..4a77d1a8ccafb1f4f6ea97c068587b9a872f3540 100644
|
| --- a/real_x_connection.cc
|
| +++ b/real_x_connection.cc
|
| @@ -315,7 +315,7 @@ bool RealXConnection::GrabPointer(XWindow xid,
|
|
|
| if (reply->status != XCB_GRAB_STATUS_SUCCESS) {
|
| LOG(WARNING) << "Pointer grab for window " << XidStr(xid)
|
| - << " returned status " << reply->status;
|
| + << " returned status " << static_cast<int>(reply->status);
|
| return false;
|
| }
|
| return true;
|
| @@ -348,7 +348,7 @@ bool RealXConnection::GrabKeyboard(XWindow xid, XTime timestamp) {
|
|
|
| if (reply->status != XCB_GRAB_STATUS_SUCCESS) {
|
| LOG(WARNING) << "Keyboard grab for window " << XidStr(xid)
|
| - << " returned status " << reply->status;
|
| + << " returned status " << static_cast<int>(reply->status);
|
| return false;
|
| }
|
| return true;
|
|
|