openbsd-ports/math/R/patches/patch-src_main_gram_y

13 lines
401 B
Plaintext

$OpenBSD: patch-src_main_gram_y,v 1.2 2006/11/11 18:52:12 mbalmer Exp $
--- src/main/gram.y.orig Tue Sep 19 10:50:39 2006
+++ src/main/gram.y Tue Oct 3 18:12:02 2006
@@ -155,7 +155,7 @@ static size_t ucstomb(char *s, wchar_t w
static int mbcs_get_next(int c, wchar_t *wc)
{
- int i, res, clen = 1; char s[9];
+ int i, res, clen = 1; signed char s[9];
mbstate_t mb_st;
s[0] = c;