aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-08-05 12:36:02 +0000
committerFritz Elfert <felfert@to.com>2002-08-05 12:36:02 +0000
commited8b09f71ae28c26edbdc89333bfc76d37a71af7 (patch)
treeef75df88f68922fcad94548744b917c6e605338e /lib
parentb36eea40937ba4a8c03f98a60ebce12aa3bb1feb (diff)
downloadplptools-ed8b09f71ae28c26edbdc89333bfc76d37a71af7.tar.gz
plptools-ed8b09f71ae28c26edbdc89333bfc76d37a71af7.tar.bz2
plptools-ed8b09f71ae28c26edbdc89333bfc76d37a71af7.zip
- Bugfix for Bug #584926 - libplp was broken on big endian systems.
Diffstat (limited to 'lib')
-rw-r--r--lib/ppsocket.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ppsocket.cc b/lib/ppsocket.cc
index 757c2a4..6632241 100644
--- a/lib/ppsocket.cc
+++ b/lib/ppsocket.cc
@@ -327,7 +327,7 @@ sendBufferStore(const bufferStore & a)
int i;
bufferStore b;
- b.addDWord(hl);
+ b.addBytes(reinterpret_cast<const unsigned char *>(&hl), sizeof(hl));
b.addBuff(a);
l += 4;
while (l > 0) {