diff options
Diffstat (limited to 'tksao/fitsy++')
-rw-r--r-- | tksao/fitsy++/column.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tksao/fitsy++/column.C b/tksao/fitsy++/column.C index 8bf2efc..b6052ab 100644 --- a/tksao/fitsy++/column.C +++ b/tksao/fitsy++/column.C @@ -344,7 +344,7 @@ void* FitsBinColumnArray::get(const char* heap, const char* ptr, int* cnt) size_t pp = swap(ptr,1); if (abuf_) { - memset(abuf_,pmax_,0); + memset(abuf_,0,pmax_); memcpy(abuf_,heap+pp,(*cnt)*psize_); } |