diff options
Diffstat (limited to 'src/survive.c')
-rw-r--r-- | src/survive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/survive.c b/src/survive.c index 58566c1..ce17295 100644 --- a/src/survive.c +++ b/src/survive.c @@ -581,7 +581,7 @@ int survive_simple_inflate(struct SurviveContext *ctx, const char *input, int in #include <zlib.h> -int survive_simple_inflate(struct SurviveContext *ctx, const char *input, int inlen, char *output, int outlen) { +int survive_simple_inflate(struct SurviveContext *ctx, const uint8_t *input, int inlen, uint8_t *output, int outlen) { z_stream zs; // Zlib stream. May only be used by configuration at beginning and by USB thread periodically. memset(&zs, 0, sizeof(zs)); inflateInit(&zs); /// Consider checking error @@ -614,4 +614,4 @@ const SurvivePose *survive_object_pose(SurviveObject *so) { return &so->OutPose; int8_t survive_object_sensor_ct(SurviveObject *so) { return so->sensor_ct; } const FLT *survive_object_sensor_locations(SurviveObject *so) { return so->sensor_locations; } -const FLT *survive_object_sensor_normals(SurviveObject *so) { return so->sensor_normals; }
\ No newline at end of file +const FLT *survive_object_sensor_normals(SurviveObject *so) { return so->sensor_normals; } |