Typfixes

Change-Id: I29c337444e3379cdc58a014ca2e6d541ee7502b8
diff --git a/std/lightsource.c b/std/lightsource.c
index 6975578..d2ff3aa 100644
--- a/std/lightsource.c
+++ b/std/lightsource.c
@@ -285,15 +285,15 @@
 
 static string _query_lightdesc()
 {
-  string *tmp;
-  int n,i;
+  string|string* l_desc = Query(P_LIGHTDESC);
+  if (!pointerp(l_desc))
+    return (string)l_desc;
   
-  tmp=Query(P_LIGHTDESC);
-  if (!pointerp(tmp)) return (string)tmp;
-  n=sizeof(tmp);
-  i=n*_query_fuel()/max_fuel;
-  if (i>=n) i=n-1;
-  return tmp[i];
+  int n = sizeof(l_desc);
+  int i = n * _query_fuel() / max_fuel;
+  if (i>=n)
+    i = n-1;
+  return l_desc[i];
 }
 
 static int _query_light()