aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan Holm <aidanholm@gmail.com>2016-12-13 14:41:45 +0800
committerAidan Holm <aidanholm@gmail.com>2016-12-13 14:41:45 +0800
commita836a945657f4597c878925d59133fb90412593d (patch)
tree1600b011c54b3c55356c4a971a0895a8b49d7ac9
parent0a064da8d02d0863463583e4f693462ef7725c2f (diff)
downloadlanes-a836a945657f4597c878925d59133fb90412593d.tar.gz
lanes-a836a945657f4597c878925d59133fb90412593d.tar.bz2
lanes-a836a945657f4597c878925d59133fb90412593d.zip
Fix build with USE_DEBUG_SPEW
-rw-r--r--src/tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools.c b/src/tools.c
index 9a1c19d..f1b0372 100644
--- a/src/tools.c
+++ b/src/tools.c
@@ -224,7 +224,7 @@ static void open1lib( struct s_Universe* U, lua_State* L, char const* name_, siz
224 if( libfunc != NULL) 224 if( libfunc != NULL)
225 { 225 {
226 bool_t const isLanesCore = (libfunc == require_lanes_core) ? TRUE : FALSE; // don't want to create a global for "lanes.core" 226 bool_t const isLanesCore = (libfunc == require_lanes_core) ? TRUE : FALSE; // don't want to create a global for "lanes.core"
227 DEBUGSPEW_CODE( fprintf( stderr, INDENT_BEGIN "opening %.*s library\n" INDENT_END, len_, name_)); 227 DEBUGSPEW_CODE( fprintf( stderr, INDENT_BEGIN "opening %.*s library\n" INDENT_END, (int) len_, name_));
228 STACK_CHECK( L); 228 STACK_CHECK( L);
229 if( isLanesCore == TRUE) 229 if( isLanesCore == TRUE)
230 { 230 {