diff --git a/src/x11_init.c b/src/x11_init.c index ac5a7b39..87b3eb78 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -464,7 +464,7 @@ static Atom getAtomIfSupported(Atom* supportedAtoms, { const Atom atom = XInternAtom(_glfw.x11.display, atomName, False); - for (unsigned int i = 0; i < atomCount; i++) + for (unsigned long i = 0; i < atomCount; i++) { if (supportedAtoms[i] == atom) return atom;