Fix wrong type for DEPTH24_D8/DEPTH16
Merge pull request #237 from raven02/patch-5

Fix wrong type for DEPTH24_D8/DEPTH16