diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-05-02 17:14:55 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-05-02 17:14:55 (GMT) |
commit | 35c56ad0a88a4d53e613230d0d1156780135e3f4 (patch) | |
tree | 30702daac9d7e3f7bf4b168646d71f0c7bab3f0e /tksao/frame | |
parent | 91b5823e8b5b4b6f2b88f34e3b6600625ccca6de (diff) | |
download | blt-35c56ad0a88a4d53e613230d0d1156780135e3f4.zip blt-35c56ad0a88a4d53e613230d0d1156780135e3f4.tar.gz blt-35c56ad0a88a4d53e613230d0d1156780135e3f4.tar.bz2 |
fix memset
Diffstat (limited to 'tksao/frame')
-rw-r--r-- | tksao/frame/context.C | 2 |
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++) |