# HG changeset patch # User omajid # Date 1399591644 14400 # Node ID c266d1f95250b152c5fce02e10a2e80e8e3270d2 # Parent 848deff023c7ecf887caf007c78eeb4a9b32edeb 8042806: Splashscreen uses libjpeg-internal macros Reviewed-by: anthony, prr diff -r 848deff023c7 -r c266d1f95250 jdk/src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c --- a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c Thu May 08 15:17:02 2014 -0700 +++ b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c Thu May 08 19:27:24 2014 -0400 @@ -25,7 +25,6 @@ #include "splashscreen_impl.h" -#include "jinclude.h" #include "jpeglib.h" #include "jerror.h" @@ -107,11 +106,11 @@ if (cinfo->src == NULL) { /* first time for this JPEG object? */ cinfo->src = (struct jpeg_source_mgr *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, - JPOOL_PERMANENT, SIZEOF(stream_source_mgr)); + JPOOL_PERMANENT, sizeof(stream_source_mgr)); src = (stream_src_ptr) cinfo->src; src->buffer = (JOCTET *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, - JPOOL_PERMANENT, INPUT_BUF_SIZE * SIZEOF(JOCTET)); + JPOOL_PERMANENT, INPUT_BUF_SIZE * sizeof(JOCTET)); } src = (stream_src_ptr) cinfo->src;