From 94c0407caca727e2a9e5f48bc611cf3a7fb07e91 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Mon, 22 Aug 2011 20:31:39 +0100 Subject: [PATCH] dbghelp: Constify some variables. --- dlls/dbghelp/stabs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dbghelp/stabs.c b/dlls/dbghelp/stabs.c index 3f280090f12..1bdd706c1e7 100644 --- a/dlls/dbghelp/stabs.c +++ b/dlls/dbghelp/stabs.c @@ -583,7 +583,7 @@ static int stabs_pts_read_range(struct ParseTypedefData* ptd, const char* typena static inline int stabs_pts_read_method_info(struct ParseTypedefData* ptd) { struct symt* dt; - char* tmp; + const char* tmp; char mthd; do @@ -740,7 +740,7 @@ static inline int stabs_pts_read_aggregate(struct ParseTypedefData* ptd, break; case ':': { - char* tmp; + const char* tmp; /* method parameters... terminated by ';' */ PTS_ABORTIF(ptd, !(tmp = strchr(ptd->ptr, ';'))); ptd->ptr = tmp + 1;