C fix for readtest (git command ordering caused this)

This commit is contained in:
Paul Davis 2015-01-19 16:18:48 -05:00
parent ffe3f7ee6f
commit 24b7473831
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* g++ -o readtest readtest.cc `pkg-config --cflags --libs sndfile` `pkg-config --cflags --libs glibmm-2.4` */
/* gcc -o readtest readtest.cc `pkg-config --cflags --libs glib-2.0` */
#include <stdlib.h>
#include <errno.h>
@ -120,7 +120,7 @@ main (int argc, char* argv[])
files[n] = fd;
}
data = new char[block_size];
data = (char*) malloc (sizeof (char) * block_size);
uint64_t read = 0;
while (true) {