22 lines
855 B
Text
22 lines
855 B
Text
|
--- indep-utils/webtrace-conv/dec/my-endian.cc.orig 2003-02-26 17:08:50.000000000 -0500
|
||
|
+++ indep-utils/webtrace-conv/dec/my-endian.cc 2003-08-22 07:45:19.000000000 -0400
|
||
|
@@ -39,14 +39,14 @@ void ToOtherEndian(TEntry *e) {
|
||
|
e -> tail.status = swap2(e -> tail.status);
|
||
|
|
||
|
if (sizeof(method_t) == 2)
|
||
|
- e -> tail.method = swap2(e -> tail.method);
|
||
|
+ e -> tail.method = (method_t)swap2(e -> tail.method);
|
||
|
else
|
||
|
if (sizeof(method_t) == 4)
|
||
|
- e -> tail.method = rotate4(e -> tail.method);
|
||
|
+ e -> tail.method = (method_t)rotate4(e -> tail.method);
|
||
|
|
||
|
if (sizeof(protocol_t) == 2)
|
||
|
- e -> tail.protocol = swap2(e -> tail.protocol);
|
||
|
+ e -> tail.protocol = (protocol_t)swap2(e -> tail.protocol);
|
||
|
else
|
||
|
if (sizeof(protocol_t) == 4)
|
||
|
- e -> tail.protocol = rotate4(e -> tail.protocol);
|
||
|
+ e -> tail.protocol = (protocol_t)rotate4(e -> tail.protocol);
|
||
|
}
|