diff options
author | Christophe Grenier <[email protected]> | 2009-01-04 19:43:44 +0100 |
---|---|---|
committer | Christophe Grenier <[email protected]> | 2009-01-04 19:43:44 +0100 |
commit | 49b4aab59a8db2ff4b5fc24d7884c80dbe4570dc (patch) | |
tree | d4c7985de893902ae22c95adf678acd40410f6e9 /src/diskcp.c | |
parent | 25b603a4ccd8831a8c836139e0c59c5f445c7641 (diff) |
Fix for C++ compilation
Diffstat (limited to 'src/diskcp.c')
-rw-r--r-- | src/diskcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diskcp.c b/src/diskcp.c index fcae555f..4a0c2012 100644 --- a/src/diskcp.c +++ b/src/diskcp.c @@ -121,7 +121,7 @@ int main(int argc, char **argv) printf("posix_memalign failed\n"); return 1; } - buffer=res; + buffer=(char*)res; } if(1==2) { |