summaryrefslogtreecommitdiff
path: root/jdpostct.c
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2014-05-18 19:04:03 +0000
committerDRC <dcommander@users.sourceforge.net>2014-05-18 19:04:03 +0000
commit5de454b291f48382648a5d1dc2aa0fca8b5786d4 (patch)
treec2cf7aca4212a857dc653aa6e92cff6c8b06fa32 /jdpostct.c
parent5033f3e19a31e8ad40c1a79700365aefe5664494 (diff)
libjpeg-turbo has never supported non-ANSI compilers, so get rid of the crufty SIZEOF() macro. It was not being used consistently anyhow, so it would not have been possible to build prior releases of libjpeg-turbo using the broken compilers for which that macro was designed.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1313 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'jdpostct.c')
-rw-r--r--jdpostct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jdpostct.c b/jdpostct.c
index 3843831..9eef9ee 100644
--- a/jdpostct.c
+++ b/jdpostct.c
@@ -252,7 +252,7 @@ jinit_d_post_controller (j_decompress_ptr cinfo, boolean need_full_buffer)
post = (my_post_ptr)
(*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
- SIZEOF(my_post_controller));
+ sizeof(my_post_controller));
cinfo->post = (struct jpeg_d_post_controller *) post;
post->pub.start_pass = start_pass_dpost;
post->whole_image = NULL; /* flag for no virtual arrays */