diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-11-09 22:36:01 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-11-09 22:36:10 +0100 |
commit | c987b0ca80865a8202fec52f41a8d72fc923fc2a (patch) | |
tree | 318ab51f296028a89ec95199bc491684e2692552 /src/expect/snprintf_default.c | |
parent | 83811f719502e30a2a7b1bb780280258600f84f3 (diff) |
src: declare non-modified data as const
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'src/expect/snprintf_default.c')
-rw-r--r-- | src/expect/snprintf_default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expect/snprintf_default.c b/src/expect/snprintf_default.c index be8d267..a20a3ad 100644 --- a/src/expect/snprintf_default.c +++ b/src/expect/snprintf_default.c @@ -23,7 +23,7 @@ int __snprintf_expect_default(char *buf, unsigned int flags) { int ret = 0, size = 0, offset = 0; - char *delim = ""; + const char *delim = ""; switch(msg_type) { case NFCT_T_NEW: |