X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/blobdiff_plain/d37757900b8217880f74deb0df6298f36e5ef32c..1669df90c1cce0e5f1f16f11724ae1f35008ba92:/kinect_upload_fw/kinect_upload_fw.c?ds=sidebyside diff --git a/kinect_upload_fw/kinect_upload_fw.c b/kinect_upload_fw/kinect_upload_fw.c index 80be29b..e544df4 100644 --- a/kinect_upload_fw/kinect_upload_fw.c +++ b/kinect_upload_fw/kinect_upload_fw.c @@ -139,7 +139,7 @@ int main(int argc, char** argv) { filename = argv[1]; } - FILE* fw = fopen(filename, "r"); + FILE* fw = fopen(filename, "rb"); if (fw == NULL) { fprintf(stderr, "Failed to open %s: %s\n", filename, strerror(errno)); return errno;