Sfoglia il codice sorgente

Supressing integer comparison warning.

David Piuva 1 anno fa
parent
commit
76beb84b0c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
 						if (selection.target == this->targetsAtom) {
 							Atom* list = (Atom*)data;
-							for (int i = 0; i < count; i++) {
+							for (unsigned long i = 0; i < count; i++) {
 								if (list[i] == XA_STRING) {
 									this->targetAtom = XA_STRING;
 								} else if (list[i] == this->utf8StringAtom) {