aboutsummaryrefslogtreecommitdiff
path: root/binutils/dlltool.c
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2003-07-05 13:49:50 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2003-07-05 13:49:50 +0000
commitff6b622203384128d61b420dae3be9fff78d9b54 (patch)
treeeb8bfe824bdb9be168d70c56006a19b36369645c /binutils/dlltool.c
parentbf7a6389e81782655f363fbeda9b5d16d5f6fdac (diff)
downloadgdb-ff6b622203384128d61b420dae3be9fff78d9b54.zip
gdb-ff6b622203384128d61b420dae3be9fff78d9b54.tar.gz
gdb-ff6b622203384128d61b420dae3be9fff78d9b54.tar.bz2
* dlltool.c (prefix_encode): Use a fixed length for alpha.
Diffstat (limited to 'binutils/dlltool.c')
-rw-r--r--binutils/dlltool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index 544602b..ffbcd28 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -753,7 +753,7 @@ static void inform
static char *
prefix_encode PARAMS ((char *start, unsigned code))
{
- static char alpha[] = "abcdefghijklmnopqrstuvwxyz";
+ static char alpha[26] = "abcdefghijklmnopqrstuvwxyz";
static char buf[32];
char *p;
strcpy (buf, start);