summaryrefslogtreecommitdiffstats
path: root/tksao
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-03-28 18:38:22 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-03-28 18:38:22 (GMT)
commitc1e078a525e14e555137ed58a9ae12fff7b811e2 (patch)
tree007bbfae7d84a25a2f6025ef92fb04ab8110d891 /tksao
parentc3feef62aaf59dbbe0d606704261f859de48cf1b (diff)
downloadblt-c1e078a525e14e555137ed58a9ae12fff7b811e2.zip
blt-c1e078a525e14e555137ed58a9ae12fff7b811e2.tar.gz
blt-c1e078a525e14e555137ed58a9ae12fff7b811e2.tar.bz2
fix memset issue
Diffstat (limited to 'tksao')
-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_);
}