summaryrefslogtreecommitdiffstats
path: root/tksao/fitsy++/column.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/fitsy++/column.C')
-rw-r--r--tksao/fitsy++/column.C2
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_);
}