diff --git a/src/x11_init.c b/src/x11_init.c index 3ecc7fa8..5e31e16b 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -497,7 +497,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;