summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Kendrick (NetBSD) <rjek@rjek.com>2013-03-25 12:46:46 +0000
committerRob Kendrick (NetBSD) <rjek@rjek.com>2013-03-25 12:46:46 +0000
commitf703c6bb9f2d438d7cedf9c49eac49c0897a4e42 (patch)
tree0b96d2f948a0bfbe5348d7aa4c2f6d385e7620da
parent866648c057ba23d66fa6859b22de2986d7099ae4 (diff)
downloadluxio-f703c6bb9f2d438d7cedf9c49eac49c0897a4e42.tar.gz
Cast away a warning
-rw-r--r--luxio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/luxio.c b/luxio.c
index 0efda57..112111a 100644
--- a/luxio.c
+++ b/luxio.c
@@ -2813,7 +2813,7 @@ luxio_timeval_tostring(lua_State *L)
char buffer[LUXIO_TIME_BUFLEN];
snprintf(buffer, LUXIO_TIME_BUFLEN, "timeval: %ld.%06ld",
- (long)a->tv_sec, a->tv_usec);
+ (long)a->tv_sec, (long)a->tv_usec);
lua_pushstring(L, buffer);