BSD 4_2 release
[unix-history] / usr / src / games / trek / getpar.c
index ef3c186..81f2e84 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)getpar.c   4.2     (Berkeley)      %G%";
+static char sccsid[] = "@(#)getpar.c   4.3     (Berkeley)      5/28/83";
 #endif not lint
 
 # include      <stdio.h>
 #endif not lint
 
 # include      <stdio.h>
@@ -70,7 +70,7 @@ char  *s;
        struct cvntab           *r;
 
        r = getcodpar(s, Yntab);
        struct cvntab           *r;
 
        r = getcodpar(s, Yntab);
-       return (r->value);
+       return ((int) r->value);
 }
 
 
 }