summaryrefslogtreecommitdiff
path: root/choose.c
diff options
context:
space:
mode:
Diffstat (limited to 'choose.c')
-rw-r--r--choose.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/choose.c b/choose.c
index b8cc946..6459b61 100644
--- a/choose.c
+++ b/choose.c
@@ -78,13 +78,13 @@ GetSessionNames(int *count_ret, String **short_names_ret,
{
DIR *dir;
struct dirent *entry;
- char *path;
+ const char *path;
int count;
- path = (char *) getenv ("SM_SAVE_DIR");
+ path = getenv ("SM_SAVE_DIR");
if (!path)
{
- path = (char *) getenv ("HOME");
+ path = getenv ("HOME");
if (!path)
path = ".";
}