From ed8b09f71ae28c26edbdc89333bfc76d37a71af7 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Mon, 5 Aug 2002 12:36:02 +0000 Subject: - Bugfix for Bug #584926 - libplp was broken on big endian systems. --- lib/ppsocket.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(&hl), sizeof(hl)); b.addBuff(a); l += 4; while (l > 0) { -- cgit v1.2.3