diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2008-07-15 19:17:19 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2008-07-15 19:17:19 +0000 |
commit | 939c8d6dc72d160a8e4eea0fb0234f222745741a (patch) | |
tree | 25ac2c723deeea8a6bceb0f1ff8eba4682f1cff0 /net-p2p | |
parent | 98996c25e669f676d6b1c158cdc7024f9e5db0f7 (diff) | |
download | ports-939c8d6dc72d160a8e4eea0fb0234f222745741a.tar.gz ports-939c8d6dc72d160a8e4eea0fb0234f222745741a.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/azureus/files/patch-TransferTypes | 17 | ||||
-rw-r--r-- | net-p2p/vuze/files/patch-TransferTypes | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-p2p/azureus/files/patch-TransferTypes b/net-p2p/azureus/files/patch-TransferTypes new file mode 100644 index 000000000000..2c13840c877e --- /dev/null +++ b/net-p2p/azureus/files/patch-TransferTypes @@ -0,0 +1,17 @@ +--- org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Fri Dec 12 09:56:48 2003 ++++ org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Sat Jun 11 16:06:40 2005 +@@ -41,5 +41,5 @@ + TransferData[] data = event.dataTypes; + for (int i = 0; i < data.length; i++) { +- int id = data[i].type; ++ long id = data[i].type; + String name = getNameFromId(id); + System.out.println("Data type is " + id + " " + name); +@@ -97,5 +97,5 @@ + return ids; + } +- static String getNameFromId(int id) { ++ static String getNameFromId(long id) { +- switch (id) { ++ switch ((int)id) { + case 1 : diff --git a/net-p2p/vuze/files/patch-TransferTypes b/net-p2p/vuze/files/patch-TransferTypes new file mode 100644 index 000000000000..2c13840c877e --- /dev/null +++ b/net-p2p/vuze/files/patch-TransferTypes @@ -0,0 +1,17 @@ +--- org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Fri Dec 12 09:56:48 2003 ++++ org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Sat Jun 11 16:06:40 2005 +@@ -41,5 +41,5 @@ + TransferData[] data = event.dataTypes; + for (int i = 0; i < data.length; i++) { +- int id = data[i].type; ++ long id = data[i].type; + String name = getNameFromId(id); + System.out.println("Data type is " + id + " " + name); +@@ -97,5 +97,5 @@ + return ids; + } +- static String getNameFromId(int id) { ++ static String getNameFromId(long id) { +- switch (id) { ++ switch ((int)id) { + case 1 : |