summaryrefslogtreecommitdiffstats
path: root/tksao/frame
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-05-02 17:14:55 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-05-02 17:14:55 (GMT)
commit35c56ad0a88a4d53e613230d0d1156780135e3f4 (patch)
tree30702daac9d7e3f7bf4b168646d71f0c7bab3f0e /tksao/frame
parent91b5823e8b5b4b6f2b88f34e3b6600625ccca6de (diff)
downloadblt-35c56ad0a88a4d53e613230d0d1156780135e3f4.zip
blt-35c56ad0a88a4d53e613230d0d1156780135e3f4.tar.gz
blt-35c56ad0a88a4d53e613230d0d1156780135e3f4.tar.bz2
fix memset
Diffstat (limited to 'tksao/frame')
-rw-r--r--tksao/frame/context.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/tksao/frame/context.C b/tksao/frame/context.C
index 9a6adeb..08c3568 100644
--- a/tksao/frame/context.C
+++ b/tksao/frame/context.C
@@ -1942,7 +1942,7 @@ void Context::reorderAxes()
char* data = new char[sz];
if (!data)
return;
- memset(data,sz,0);
+ memset(data,0,sz);
naxis_ = new int[FTY_MAXAXES];
for (int ii=0; ii<FTY_MAXAXES; ii++)