Browse Source

Supressing integer comparison warning.

David Piuva 1 year ago
parent
commit
76beb84b0c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/windowManagers/X11Window.cpp

+ 1 - 1
Source/windowManagers/X11Window.cpp

@@ -694,7 +694,7 @@ void X11Window::prefetchEvents() {
 							&actualType, &actualFormat, &count, &bytesAfter, &data);
 							&actualType, &actualFormat, &count, &bytesAfter, &data);
 						if (selection.target == this->targetsAtom) {
 						if (selection.target == this->targetsAtom) {
 							Atom* list = (Atom*)data;
 							Atom* list = (Atom*)data;
-							for (int i = 0; i < count; i++) {
+							for (unsigned long i = 0; i < count; i++) {
 								if (list[i] == XA_STRING) {
 								if (list[i] == XA_STRING) {
 									this->targetAtom = XA_STRING;
 									this->targetAtom = XA_STRING;
 								} else if (list[i] == this->utf8StringAtom) {
 								} else if (list[i] == this->utf8StringAtom) {