trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject git commit: TS-1731 fix Lua plugin compile on Ubuntu 12.10
Date Thu, 28 Feb 2013 00:18:40 GMT
Updated Branches:
  refs/heads/master 9af6d5c8f -> 52af852d4


TS-1731 fix Lua plugin compile on Ubuntu 12.10

...among other platforms.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/52af852d
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/52af852d
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/52af852d

Branch: refs/heads/master
Commit: 52af852d4540d0fe4c27e2fdc3c0119aa748138c
Parents: 9af6d5c
Author: Igor Galić <i.galic@brainsware.org>
Authored: Wed Feb 27 16:16:52 2013 -0800
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Wed Feb 27 16:16:52 2013 -0800

----------------------------------------------------------------------
 plugins/experimental/lua/state.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/52af852d/plugins/experimental/lua/state.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/lua/state.cc b/plugins/experimental/lua/state.cc
index 37b5f28..856497a 100644
--- a/plugins/experimental/lua/state.cc
+++ b/plugins/experimental/lua/state.cc
@@ -22,9 +22,10 @@
 #include "hook.h"
 #include "lutil.h"
 #include <unistd.h>
+#include <string.h>
 #include <errno.h>
 
-#define INVALID_INSTANCE_ID (-1)
+#define INVALID_INSTANCE_ID (unsigned int)(-1)
 
 typedef int (*LuaHookDemuxer)(TSHttpHookID, TSCont, TSEvent, void *);
 


Mime
View raw message