summaryrefslogtreecommitdiff
path: root/source3/smbd/mangle_hash2.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-31 16:47:15 +0100
committerVolker Lendecke <vl@samba.org>2009-02-01 14:34:22 +0100
commit19ce90b90e0024aa1d2453fcdc52828f6bee2f33 (patch)
tree3d8d71e907956190d78511a01a55717ff85ddadf /source3/smbd/mangle_hash2.c
parent16f072809cf0e8542b776988d3fe1a0db055a74b (diff)
downloadsamba-19ce90b90e0024aa1d2453fcdc52828f6bee2f33.tar.gz
samba-19ce90b90e0024aa1d2453fcdc52828f6bee2f33.tar.bz2
samba-19ce90b90e0024aa1d2453fcdc52828f6bee2f33.zip
Just for fun: Move some bytes from bss to text
Diffstat (limited to 'source3/smbd/mangle_hash2.c')
-rw-r--r--source3/smbd/mangle_hash2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/mangle_hash2.c b/source3/smbd/mangle_hash2.c
index 859e5e7227..3a3939c511 100644
--- a/source3/smbd/mangle_hash2.c
+++ b/source3/smbd/mangle_hash2.c
@@ -85,7 +85,7 @@
#define FLAG_CHECK(c, flag) (char_flags[(unsigned char)(c)] & (flag))
/* these are the characters we use in the 8.3 hash. Must be 36 chars long */
-static const char * const basechars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
+static const char basechars[36] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
#define base_forward(v) basechars[v]
/* the list of reserved dos names - all of these are illegal */