X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Ftypes%2Ffloat.c;h=3651f0c3acf9c5338104ff1490489877e3967af9;hp=be068316eb9241084abd4b0e662d6f2acd1880a9;hb=47e0f2e23aef98a584bf964754ab1e29c2897cfb;hpb=be85c1c7633af07e35db7b415d6ee8447c30e80a diff --git a/formats/ctf/types/float.c b/formats/ctf/types/float.c index be068316..3651f0c3 100644 --- a/formats/ctf/types/float.c +++ b/formats/ctf/types/float.c @@ -119,7 +119,7 @@ double ctf_double_read(struct stream_pos *srcp, struct stream_pos destp; align_pos(srcp, float_class->p.alignment); - init_pos(&destp, (unsigned char *) u.bits); + init_pos(&destp, (char *) u.bits); _ctf_float_copy(&destp, dest_class, srcp, float_class); float_type_free(dest_class); return u.v; @@ -139,7 +139,7 @@ void ctf_double_write(struct stream_pos *destp, u.v = v; align_pos(destp, float_class->p.alignment); - init_pos(&srcp, (unsigned char *) u.bits); + init_pos(&srcp, (char *) u.bits); _ctf_float_copy(destp, float_class, &srcp, src_class); float_type_free(src_class); } @@ -156,7 +156,7 @@ long double ctf_ldouble_read(struct stream_pos *srcp, struct stream_pos destp; align_pos(srcp, float_class->p.alignment); - init_pos(&destp, (unsigned char *) u.bits); + init_pos(&destp, (char *) u.bits); _ctf_float_copy(&destp, dest_class, srcp, float_class); float_type_free(dest_class); return u.v; @@ -176,7 +176,7 @@ void ctf_ldouble_write(struct stream_pos *destp, u.v = v; align_pos(destp, float_class->p.alignment); - init_pos(&srcp, (unsigned char *) u.bits); + init_pos(&srcp, (char *) u.bits); _ctf_float_copy(destp, float_class, &srcp, src_class); float_type_free(src_class); }