compositor-drm: Fix modularization breakage

dev
Kristian Høgsberg 14 years ago
parent 1258a4a552
commit 8050bd217f
  1. 4
      compositor/compositor-drm.c

@ -746,7 +746,7 @@ drm_compositor_create(struct wl_display *display, int connector)
struct wlsc_compositor *
backend_init(struct wl_display *display, char *options)
{
int connector, i;
int connector = 0, i;
char *p, *value;
static char * const tokens[] = { "connector", NULL };
@ -755,7 +755,7 @@ backend_init(struct wl_display *display, char *options)
while (i = getsubopt(&p, tokens, &value), i != -1) {
switch (i) {
case 0:
connector = strol(value, NULL, 0);
connector = strtol(value, NULL, 0);
break;
}
}

Loading…
Cancel
Save