fixed some warnings

This commit is contained in:
2022-06-10 18:47:00 +03:00
parent 104dde3f74
commit 7ea373b6e4
4 changed files with 16 additions and 3 deletions

View File

@@ -5,6 +5,17 @@
#define maxlength 160
void printautoarr2(Autoarr2<uint16>* ar){
printf("\e[94mAutoarr2<uint16>: "
IFWIN("%llu", "%lu")
"\n blocks_count: %u\n"
" max_block_length: %u\n"
" block_length: %u\n"
" length: %u\n",
sizeof(Autoarr2<uint16>),
ar->blocks_count,
ar->max_block_length,
ar->block_length,
ar->length);
}
void fillar2(Autoarr2<uint16>* ar){

View File

@@ -21,7 +21,6 @@ Maybe test_maybe(){
try(throw_error(),rez1,;)
printMaybe(rez1);
throw("test_maybe failed");
return MaybeNull;
}