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