diff options
Diffstat (limited to 'src/3rdparty/libjpeg/jmemmgr.c')
-rw-r--r-- | src/3rdparty/libjpeg/jmemmgr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/3rdparty/libjpeg/jmemmgr.c b/src/3rdparty/libjpeg/jmemmgr.c index 99146731a..d801b322d 100644 --- a/src/3rdparty/libjpeg/jmemmgr.c +++ b/src/3rdparty/libjpeg/jmemmgr.c @@ -51,12 +51,12 @@ extern char * getenv JPP((const char * name)); /* - * Many machines retquire storage alignment: longs must start on 4-byte + * Many machines require storage alignment: longs must start on 4-byte * boundaries, doubles on 8-byte boundaries, etc. On such machines, malloc() * always returns pointers that are multiples of the worst-case alignment - * retquirement, and we had better do so too. + * requirement, and we had better do so too. * There isn't any really portable way to determine the worst-case alignment - * retquirement. This module assumes that the alignment retquirement is + * requirement. This module assumes that the alignment requirement is * multiples of sizeof(ALIGN_TYPE). * By default, we define ALIGN_TYPE as double. This is necessary on some * workstations (where doubles really do need 8-byte alignment) and will work @@ -83,7 +83,7 @@ extern char * getenv JPP((const char * name)); * link pointer must be FAR on 80x86 machines. * Notice that the "real" header fields are union'ed with a dummy ALIGN_TYPE * field. This forces the compiler to make SIZEOF(small_pool_hdr) a multiple - * of the alignment retquirement of ALIGN_TYPE. + * of the alignment requirement of ALIGN_TYPE. */ typedef union small_pool_struct * small_pool_ptr; @@ -1036,7 +1036,7 @@ jinit_memory_mgr (j_common_ptr cinfo) /* Check for configuration errors. * SIZEOF(ALIGN_TYPE) should be a power of 2; otherwise, it probably - * doesn't reflect any real hardware alignment retquirement. + * doesn't reflect any real hardware alignment requirement. * The test is a little tricky: for X>0, X and X-1 have no one-bits * in common if and only if X is a power of 2, ie has only one one-bit. * Some compilers may give an "unreachable code" warning here; ignore it. |