aboutsummaryrefslogtreecommitdiff
path: root/lmathlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lmathlib.c')
-rw-r--r--lmathlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lmathlib.c b/lmathlib.c
index 18967220..1a96df20 100644
--- a/lmathlib.c
+++ b/lmathlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lmathlib.c,v 1.3 1997/11/03 21:11:44 roberto Exp roberto $ 2** $Id: lmathlib.c,v 1.4 1997/11/04 15:27:53 roberto Exp roberto $
3** Lua standard mathematical library 3** Lua standard mathematical library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -30,7 +30,7 @@ static double torad (void)
30 case 'r' : return 1.0; 30 case 'r' : return 1.0;
31 case 'g' : return PI/50.0; 31 case 'g' : return PI/50.0;
32 default: 32 default:
33 luaL_verror("invalid _TRIGMODE (`%s')", s); 33 luaL_verror("invalid _TRIGMODE (`%.50s')", s);
34 return 0; /* to avoid warnings */ 34 return 0; /* to avoid warnings */
35 } 35 }
36} 36}