Explorar el Código

Removed incorrect cast

murgatroid99 hace 10 años
padre
commit
4fca87aee2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/core/security/base64.c

+ 1 - 1
src/core/security/base64.c

@@ -189,7 +189,7 @@ gpr_slice grpc_base64_decode(const char *b64, int url_safe) {
     gpr_slice_unref(result);
     gpr_slice_unref(result);
     return gpr_empty_slice();
     return gpr_empty_slice();
   }
   }
-  GPR_SLICE_SET_LENGTH(result, (gpr_uint8)result_size);
+  GPR_SLICE_SET_LENGTH(result, result_size);
   return result;
   return result;
 
 
 fail:
 fail: