diff options
author | DRC <dcommander@users.sourceforge.net> | 2014-05-18 19:04:03 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2014-05-18 19:04:03 +0000 |
commit | 5de454b291f48382648a5d1dc2aa0fca8b5786d4 (patch) | |
tree | c2cf7aca4212a857dc653aa6e92cff6c8b06fa32 /rdrle.c | |
parent | 5033f3e19a31e8ad40c1a79700365aefe5664494 (diff) | |
download | libjpeg-turbo-5de454b291f48382648a5d1dc2aa0fca8b5786d4.tar.gz |
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 'rdrle.c')
-rw-r--r-- | rdrle.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,8 +3,8 @@ * * This file was part of the Independent JPEG Group's software: * Copyright (C) 1991-1996, Thomas G. Lane. - * It was modified by The libjpeg-turbo Project to include only information - * relevant to libjpeg-turbo. + * It was modified by The libjpeg-turbo Project to include only code and + * information relevant to libjpeg-turbo. * For conditions of distribution and use, see the accompanying README file. * * This file contains routines to read input images in Utah RLE format. @@ -376,7 +376,7 @@ jinit_read_rle (j_compress_ptr cinfo) /* Create module interface object */ source = (rle_source_ptr) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, - SIZEOF(rle_source_struct)); + sizeof(rle_source_struct)); /* Fill in method ptrs */ source->pub.start_input = start_input_rle; source->pub.finish_input = finish_input_rle; |