Commit Graph

16 Commits

Author SHA1 Message Date
Sean McBride
852d8c970d Fixed -Wimplicit-int-conversion warnings 2021-09-23 13:48:32 -04:00
Sean McBride
f3055ee795 Fixed -Wimplicit-float-conversion warnings 2021-09-23 13:48:21 -04:00
Sean McBride
c23bdf1af9 Fixed -Wabsolute-value warning, use fabs() instead of abs() 2021-09-23 13:39:10 -04:00
Sean McBride
aa1ce11a67 Fixed various -Wshorten-64-to-32 warnings 2021-09-23 13:38:25 -04:00
Sean McBride
6a9357514a Fixed -Wmissing-variable-declarations warnings, made globals static 2021-09-23 13:37:21 -04:00
Mark Borgerding
7811f7d428 fixed switch-case fall-thru 2021-01-23 11:54:02 -05:00
Rikard Falkeborn
cfa9afee31 Add checks for memory failures 2018-11-28 00:38:01 +01:00
Rikard Falkeborn
5c845c5006 Free memory
This makes psdpng run clean under address sanitizer and valgrind.
2018-11-28 00:38:01 +01:00
Rikard Falkeborn
d8ccb037a0 Fix memset size
In the call to memset(), the size of the pointer to mag2buf was
erroneously used instead of size of what mag2buf pointed to (float).
This leads to problems on systems where the size of the pointer is
different from the size of floats. Instead of just fixing the size,
use calloc() instead of malloc() to directly set the memory to 0.
2018-11-28 00:37:29 +01:00
h.udo
bc40eccbea
[BSD-3-Clause] Convert to SPDX license format 2018-07-19 14:49:00 +01:00
Mark Borgerding
070d040425 getting ready for 1.2.4 2005-10-27 19:47:42 +00:00
Mark Borgerding
75ca67f928 updated copyright years 2004-04-04 21:44:34 +00:00
Mark Borgerding
e3fe1598f0 bunch of minor code cleanup 2004-02-27 03:45:12 +00:00
Mark Borgerding
ac2eb527b7 fftnd now uses forward struct declaration 2004-02-24 01:38:52 +00:00
Mark Borgerding
16ac58df93 : 2004-02-02 03:51:52 +00:00
Mark Borgerding
b9edc58bad psdpng does not yet work, but it will create a png 2004-02-01 22:12:35 +00:00