dbghelp: Constify some variables.

This commit is contained in:
Andrew Talbot 2011-08-22 20:31:39 +01:00 committed by Alexandre Julliard
parent 23c26982e9
commit 94c0407cac
1 changed files with 2 additions and 2 deletions

View File

@ -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) static inline int stabs_pts_read_method_info(struct ParseTypedefData* ptd)
{ {
struct symt* dt; struct symt* dt;
char* tmp; const char* tmp;
char mthd; char mthd;
do do
@ -740,7 +740,7 @@ static inline int stabs_pts_read_aggregate(struct ParseTypedefData* ptd,
break; break;
case ':': case ':':
{ {
char* tmp; const char* tmp;
/* method parameters... terminated by ';' */ /* method parameters... terminated by ';' */
PTS_ABORTIF(ptd, !(tmp = strchr(ptd->ptr, ';'))); PTS_ABORTIF(ptd, !(tmp = strchr(ptd->ptr, ';')));
ptd->ptr = tmp + 1; ptd->ptr = tmp + 1;