]> git.saurik.com Git - apple/system_cmds.git/blobdiff - ac.tproj/ac.c
system_cmds-643.1.1.tar.gz
[apple/system_cmds.git] / ac.tproj / ac.c
index a6fc15411e24b542c2fb29d9d8052abbffd46928..6096f999603cc1c61ede9641121342691f1a3921 100644 (file)
@@ -141,7 +141,7 @@ add_tty(name)
        tp->name[sizeof (tp->name) - 1] = '\0';
        if ((rcp = strchr(tp->name, '*')) != NULL) {    /* wild card */
                *rcp = '\0';
-               tp->len = strlen(tp->name);     /* match len bytes only */
+               tp->len = (int)strlen(tp->name);        /* match len bytes only */
        }
        tp->next = Ttys;
        Ttys = tp;