···840840 }
841841842842 // Include the controllers
843843- for (int i = 0; i < MAX_CONTROLLERS; i++) {
843843+ for (size_t i = 0; i < MAX_CONTROLLERS; i++) {
844844 if (svrs->ctx->controller[i]) {
845845 xsysd->xdevs[xsysd->xdev_count++] = svrs->ctx->controller[i];
846846 }