diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/mdssvc/marshalling.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/mdssvc/marshalling.c b/source3/rpc_server/mdssvc/marshalling.c index 0a02f418722..976702c49d4 100644 --- a/source3/rpc_server/mdssvc/marshalling.c +++ b/source3/rpc_server/mdssvc/marshalling.c @@ -164,6 +164,8 @@ static ssize_t sl_pack_float(double d, char *buf, ssize_t offset, size_t bufsize uint64_t w; } ieee_fp_union; + ieee_fp_union.d = d; + offset = sl_push_uint64_val(buf, offset, bufsize, sl_pack_tag(SQ_TYPE_FLOAT, 2, 1)); if (offset == -1) { return -1; |