summaryrefslogtreecommitdiff
path: root/src/macros.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.c')
-rw-r--r--src/macros.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/macros.c b/src/macros.c
index 1643168..670e640 100644
--- a/src/macros.c
+++ b/src/macros.c
@@ -10,8 +10,8 @@ void die(char *message) {
}
char *char_to_string(char c) {
- char *s = malloc(2);
- s[0] = c;
- s[1] = '\0';
- return s;
+ char *str = malloc(2);
+ str[0] = c;
+ str[1] = '\0';
+ return str;
}