From e6bd638fecc52dcd813da92600240a4ec118149d Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 14 Sep 2004 15:46:13 +0000 Subject: [PATCH] Fix compilation warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16336 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llee/SysUtils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llee/SysUtils.c b/tools/llee/SysUtils.c index 0325c40b9d7..60912b246d9 100644 --- a/tools/llee/SysUtils.c +++ b/tools/llee/SysUtils.c @@ -115,7 +115,7 @@ int executeProgram(const char *filename, char *const argv[], char *const envp[]) * Find a pointer to the *real* execve() function starting the search in the * next library and forward, to avoid finding the one defined in this file. */ - char *error; + const char *error; execveTy execvePtr = (execveTy) dlsym(RTLD_NEXT, "execve"); if ((error = dlerror()) != NULL) { fprintf(stderr, "%s\n", error);