summaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.h b/lobject.h
index 56fc7346..16c3f53e 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.98 2001/02/23 17:17:25 roberto Exp roberto $ 2** $Id: lobject.h,v 1.99 2001/02/23 20:32:32 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -117,7 +117,7 @@ union L_UTString {
117 117
118 118
119 119
120#define getstr(ts) ((l_char *)((lu_byte *)(ts) + sizeof(union L_UTString))) 120#define getstr(ts) ((l_char *)((union L_UTString *)(ts) + 1))
121#define svalue(o) getstr(tsvalue(o)) 121#define svalue(o) getstr(tsvalue(o))
122 122
123 123