commit 636dacd94fa0a560c44dcfeea767e46c29f58d9f parent 2af04a9341a57634e335e746623909d5a4509ded Author: Gaute Hope <eg@gaute.vetsj.com> Date: Wed, 1 May 2013 15:09:18 +0200 don't create pointer to pointer in str2cstr Diffstat:
| M | compat.h | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat.h b/compat.h
@@ -2,7 +2,7 @@
#define _COMPAT_H
#ifndef STR2CSTR
-#define STR2CSTR(x) ({ VALUE *y = (x); StringValuePtr(y); })
+#define STR2CSTR(x) ({ VALUE y = x; StringValuePtr (y); })
#endif
#endif