diff --git a/src/jrd/sdl.cpp b/src/jrd/sdl.cpp index 60bff35cd1..c714e27760 100644 --- a/src/jrd/sdl.cpp +++ b/src/jrd/sdl.cpp @@ -336,7 +336,7 @@ ADS array_desc, SLONG * variables, void (*callback) (), SLICE argument) arg.sdl_arg_status_vector = status_vector; p = sdl + 1; - while ((SCHAR) * p != gds_sdl_eoc) + while ((UCHAR) * p != gds_sdl_eoc) switch (*p++) { case gds_sdl_struct: for (n = *p++; n; --n) {