From b6abbe0a99d2aa007445ce84456e501d759caf9a Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 6 Jul 2019 09:59:37 -0400 Subject: [PATCH] ... --- MagickCore/log.h | 2 +- coders/pdf.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MagickCore/log.h b/MagickCore/log.h index 41f710be8..7f2e37854 100644 --- a/MagickCore/log.h +++ b/MagickCore/log.h @@ -45,7 +45,7 @@ typedef enum ExceptionEvent = 0x00100, /* Log Errors and Warnings immediately */ ImageEvent = 0x00200, LocaleEvent = 0x00400, - ModuleEvent = 0x00800, /* Loding of coder and filter modules */ + ModuleEvent = 0x00800, /* Log coder and filter modules */ PixelEvent = 0x01000, PolicyEvent = 0x02000, ResourceEvent = 0x04000, diff --git a/coders/pdf.c b/coders/pdf.c index 3fa74e532..36b04eff2 100644 --- a/coders/pdf.c +++ b/coders/pdf.c @@ -441,11 +441,11 @@ static inline void CheckRemainingPDFBuffer(PDFBuffer *buffer,size_t length) (void) MovePDFBuffer(buffer); } -static inline void SkipPDFBytes(PDFBuffer *buffer,size_t count) +static inline void SkipPDFBytes(PDFBuffer *buffer,size_t length) { - CheckRemainingPDFBuffer(buffer,count); - if ((buffer->offset+count) < buffer->count) - buffer->offset+=count; + CheckRemainingPDFBuffer(buffer,length); + if ((buffer->offset+length) < buffer->count) + buffer->offset+=length; } static inline MagickBooleanType ComparePDFBuffer(const char *p, -- 2.40.0