trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sor...@apache.org
Subject trafficserver git commit: TS-3417: Add cast to make GCC happy
Date Tue, 10 Mar 2015 16:54:25 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 4ab1b90c5 -> 613f8dadd


TS-3417: Add cast to make GCC happy


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

Branch: refs/heads/master
Commit: 613f8dadd1ad4f699b72d88cfba7e2f874242d3d
Parents: 4ab1b90
Author: Phil Sorber <sorber@apache.org>
Authored: Tue Mar 10 10:42:26 2015 -0600
Committer: Phil Sorber <sorber@apache.org>
Committed: Tue Mar 10 10:42:26 2015 -0600

----------------------------------------------------------------------
 iocore/eventsystem/IOBuffer.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/613f8dad/iocore/eventsystem/IOBuffer.cc
----------------------------------------------------------------------
diff --git a/iocore/eventsystem/IOBuffer.cc b/iocore/eventsystem/IOBuffer.cc
index 9a86895..56abb20 100644
--- a/iocore/eventsystem/IOBuffer.cc
+++ b/iocore/eventsystem/IOBuffer.cc
@@ -51,7 +51,7 @@ init_buffer_allocators()
 
 #ifdef MADV_DONTDUMP // This should only exist on Linux 3.4 and higher.
     bool dont_dump_enabled;
-    RecGetRecordBool("proxy.config.allocator.dontdump_iobuffers", &dont_dump_enabled,
false);
+    RecGetRecordBool("proxy.config.allocator.dontdump_iobuffers", (RecBool *)&dont_dump_enabled,
false);
 
     if (dont_dump_enabled) {
       advice = MADV_DONTDUMP;


Mime
View raw message