Commit fb4c62cc authored by Thomas Peters's avatar Thomas Peters Committed by Davis E. King

remove register keyword from jdhuff for C++17 (#1612)

the register storage specifier was deprecated in C++11 and removed in C++17
parent 61a021c9
...@@ -293,7 +293,7 @@ jpeg_make_d_derived_tbl (j_decompress_ptr cinfo, int isDC, int tblno, ...@@ -293,7 +293,7 @@ jpeg_make_d_derived_tbl (j_decompress_ptr cinfo, int isDC, int tblno,
GLOBAL(int) GLOBAL(int)
jpeg_fill_bit_buffer (bitread_working_state * state, jpeg_fill_bit_buffer (bitread_working_state * state,
bit_buf_type get_buffer, register int bits_left, bit_buf_type get_buffer, int bits_left,
int nbits) int nbits)
/* Load up the bit buffer to a depth of at least nbits */ /* Load up the bit buffer to a depth of at least nbits */
{ {
...@@ -399,7 +399,7 @@ jpeg_fill_bit_buffer (bitread_working_state * state, ...@@ -399,7 +399,7 @@ jpeg_fill_bit_buffer (bitread_working_state * state,
GLOBAL(int) GLOBAL(int)
jpeg_huff_decode (bitread_working_state * state, jpeg_huff_decode (bitread_working_state * state,
bit_buf_type get_buffer, register int bits_left, bit_buf_type get_buffer, int bits_left,
d_derived_tbl * htbl, int min_bits) d_derived_tbl * htbl, int min_bits)
{ {
int l = min_bits; int l = min_bits;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment