diff options
-rw-r--r-- | Demo/rpc/xdr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/rpc/xdr.py b/Demo/rpc/xdr.py index 43abcee..41c970a 100644 --- a/Demo/rpc/xdr.py +++ b/Demo/rpc/xdr.py @@ -158,7 +158,7 @@ class Unpacker: data = self.buf[i:j] if len(data) < 8: raise EOFError - return struct.unpack('8', data)[0] + return struct.unpack('d', data)[0] def unpack_fstring(self, n): if n < 0: |