Fix compilation on some environments
Fix compilation on some environments

...where deque<>::difference_type is long rather than int.

QMatrixClient/libqmatrixclient,QMatrixClient/libqmatrixclient,Fxrh/libqmatrixclient