src/hotspot/share/opto/output.cpp
changeset 49026 844bf1deff1a
parent 47765 b7c7428eaab9
child 49480 d7df2dd501ce
--- a/src/hotspot/share/opto/output.cpp	Tue Feb 20 07:32:17 2018 -0500
+++ b/src/hotspot/share/opto/output.cpp	Tue Feb 20 07:46:40 2018 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -2575,7 +2575,7 @@
   }
 
   Node *kill = def;             // Rename 'def' to more descriptive 'kill'
-  debug_only( def = (Node*)0xdeadbeef; )
+  debug_only( def = (Node*)((intptr_t)0xdeadbeef); )
 
   // After some number of kills there _may_ be a later def
   Node *later_def = NULL;