# | Line 35 | Line 35 | static char radiance_rcsid[] = | |
---|---|---|
35 | #include <math.h> | |
36 | #include <pwd.h> | |
37 | #include <sys/types.h> | |
38 | – | #ifdef SYSV |
38 | #include <string.h> | |
40 | – | #else |
41 | – | #include <strings.h> |
39 | #include <sys/time.h> | |
43 | – | #endif |
40 | ||
41 | /* XimHeader.h */ | |
42 | ||
# | Line 239 | Line 235 | double gamcor; | |
235 | byte gmap[256]; | |
236 | ||
237 | /* get width, height from radiance file */ | |
238 | < | bzero(xim, sizeof(XimImage)); |
238 | > | memset(xim, '\0', sizeof(XimImage)); |
239 | if (!RadianceGetSize(ifp, &width, &height)) | |
240 | return 0; | |
241 | xim->width = xim->bytes_line = width; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |