diff options
Diffstat (limited to 'lib/libkeynote/keynote.y')
-rw-r--r-- | lib/libkeynote/keynote.y | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libkeynote/keynote.y b/lib/libkeynote/keynote.y index 9f2fde6406e..fc653a73ffa 100644 --- a/lib/libkeynote/keynote.y +++ b/lib/libkeynote/keynote.y @@ -1,4 +1,4 @@ -/* $OpenBSD: keynote.y,v 1.9 2001/07/06 23:51:29 millert Exp $ */ +/* $OpenBSD: keynote.y,v 1.10 2001/07/18 22:41:01 deraadt Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) * @@ -530,10 +530,10 @@ stringexp: str EQ str { if (i == 0) { #if !defined(HAVE_SNPRINTF) - sprintf(grp, "%lu", preg.re_nsub); + sprintf(grp, "%lu", (unsigned long)preg.re_nsub); #else /* !HAVE_SNPRINTF */ - snprintf(grp, 3, "%lu", preg.re_nsub); -#endif /* !HAVE_SNPRINTF */ + snprintf(grp, 3, "%lu", (unsigned long)preg.re_nsub); +#endif /* !HAVE_SNPRINTF */ if (keynote_env_add("_0", grp, &keynote_temp_list, 1, 0) != RESULT_TRUE) { |