diff options
Diffstat (limited to 'datatrak.h')
-rw-r--r-- | datatrak.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datatrak.h b/datatrak.h index a86a6af0a..4e3ccd1a4 100644 --- a/datatrak.h +++ b/datatrak.h @@ -28,7 +28,7 @@ typedef struct dtrakheader_ { #define read_string(_property) \ _property = (unsigned char *)calloc(tmp_1byte + 1, 1); \ - fread(_property, 1, tmp_1byte, archivo); \ - _property = strcat(to_utf8(_property), ""); + fread((char *)_property, 1, tmp_1byte, archivo); \ + _property = (unsigned char *)strcat(to_utf8(_property), ""); #endif // DATATRAK_HEADER_H |