~ubuntu-branches/ubuntu/precise/openjdk-7/precise-security

« back to all changes in this revision

Viewing changes to patches/use-idx_t.patch.orig

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-08-28 23:42:18 UTC
  • mfrom: (1.3.2 upstream) (8.1.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20110828234218-037ena63yl3tkf7i
Tags: 7~b147-2.0~pre3-3ubuntu1
Regenerate the control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -Nru openjdk.orig/hotspot/src/share/vm/utilities/bitMap.hpp openjdk/hotspot/src/share/vm/utilities/bitMap.hpp
 
2
--- openjdk.orig/hotspot/src/share/vm/utilities/bitMap.hpp      2008-11-06 08:40:58.000000000 +0000
 
3
+++ openjdk/hotspot/src/share/vm/utilities/bitMap.hpp   2008-11-10 00:57:20.000000000 +0000
 
4
@@ -73,7 +73,7 @@
 
5
 
 
6
   // Set a word to a specified value or to all ones; clear a word.
 
7
   void set_word  (idx_t word, bm_word_t val) { _map[word] = val; }
 
8
-  void set_word  (idx_t word)            { set_word(word, ~(uintptr_t)0); }
 
9
+  void set_word  (idx_t word)            { set_word(word, ~(idx_t)0); }
 
10
   void clear_word(idx_t word)            { _map[word] = 0; }
 
11
 
 
12
   // Utilities for ranges of bits.  Ranges are half-open [beg, end).