summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-04-09 15:49:37 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-04-17 15:34:49 -0500
commit198ccaf1e562c281684e47a2209b7ce29c9c71e6 (patch)
treef75d9769bafb3efb814d0149a7971261ab450dab /src/lib
parent06d989d45066a28d149f15a45301346101eb1006 (diff)
downloadtalos-hostboot-198ccaf1e562c281684e47a2209b7ce29c9c71e6.tar.gz
talos-hostboot-198ccaf1e562c281684e47a2209b7ce29c9c71e6.zip
Fix strict-aliasing violations.
Change-Id: I5f3feae4fb62ed82b52e996d4954d1c638a243b3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4036 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/splaytree.C48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/lib/splaytree.C b/src/lib/splaytree.C
index 7505d4164..b5c16b84c 100644
--- a/src/lib/splaytree.C
+++ b/src/lib/splaytree.C
@@ -1,25 +1,25 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/lib/splaytree.C $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2012
-//
-// p1
-//
-// Object Code Only (OCO) source materials
-// Licensed Internal Code Source Materials
-// IBM HostBoot Licensed Internal Code
-//
-// The source code for this program is not published or other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/lib/splaytree.C $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2012,2013 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
#include <util/impl/splaytree.H>
#include <builtins.h>
@@ -92,7 +92,7 @@ namespace Util
}
// Increment size count.
- (header_n()->data_T())++;
+ (header_n()->data)++;
}
void SplayTree::insert_range(const node* n1, const node* n2)
@@ -118,7 +118,7 @@ namespace Util
}
// Decrement size count.
- (header_n()->data_T())--;
+ (header_n()->data)--;
// Find node to splice out of the tree.
// If n has one or no child, splice itself out, otherwise the
OpenPOWER on IntegriCloud