summaryrefslogtreecommitdiffstats
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-21 08:52:49 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-03-21 10:59:45 +0100
commit81eb293ff5c0879fa3d5f9be991c04f6bcd0fa96 (patch)
treea23f44eed5452b10ac52b48d4327604ccfb87114 /hwpfilter
parentofz#45816 Direct-leak (diff)
downloadcore-81eb293ff5c0879fa3d5f9be991c04f6bcd0fa96.tar.gz
core-81eb293ff5c0879fa3d5f9be991c04f6bcd0fa96.zip
dval can be const
Change-Id: I452f666230aca5b6033dcb16495ae382e4fd1073 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131888 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/grammar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/grammar.h b/hwpfilter/source/grammar.h
index 71d6b43b175c..4d69482cd04e 100644
--- a/hwpfilter/source/grammar.h
+++ b/hwpfilter/source/grammar.h
@@ -18,7 +18,7 @@
*/
typedef union {
- char *dval;
+ const char *dval;
const char *str;
Node *ptr;
} YYSTYPE;