summaryrefslogtreecommitdiff
path: root/lang/librep/patches/patch-ab
blob: 978125a6d911f004a2bee63e217ace986a2b5709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.5 2009/07/14 10:01:28 tnn Exp $

Build fix. From GIT master.

--- src/unix_processes.c.orig	2009-07-02 20:36:42.000000000 +0200
+++ src/unix_processes.c
@@ -496,7 +496,7 @@ get_pty(char *slavenam)
        The FIRST_PTY_LETTER gives the first X to try. We try in the 
        sequence FIRST_PTY_LETTER, .., 'z', 'a', .., FIRST_PTY_LETTER.
        Is this worthwhile, or just over-zealous? */
-    c = FIRST_PTY_LETTER;
+    char c = FIRST_PTY_LETTER;
     do {
 	int i;
 	for(i = 0; i < 16; i++)