TODO: handle signals in picoproj and do the proper cleanup
[libam7xxx.git] / src / picoproj.c
index 8d511b9..cc31714 100644 (file)
@@ -50,11 +50,11 @@ int main(int argc, char *argv[])
        char filename[FILENAME_MAX] = {0};
        int image_fd;
        struct stat st;
-       am7xxx_device dev;
+       am7xxx_device *dev;
        int format = AM7XXX_IMAGE_FORMAT_JPEG;
        int width = 800;
        int height = 480;
-       uint8_t *image;
+       unsigned char *image;
        unsigned int size;
        unsigned int native_width;
        unsigned int native_height;