--- a/dvd+rw-booktype.cpp 2006-06-24 12:21:48.000000000 +0300 +++ b/dvd+rw-booktype.cpp 2021-03-14 10:16:02.533741829 +0200 @@ -398,7 +398,7 @@ break; case OPT_MEDIA: if (profile!=0x1A && profile!=0x14 && profile!=13) - { fprintf (stderr,":-( action is applicable to DVD±RW only\n"); + { fprintf (stderr,":-( action is applicable to DVD\xb1RW only\n"); break; } @@ -759,7 +759,7 @@ } } - delete list; + delete[] list; } profile=buf[6]<<8|buf[7]; --- a/dvd+rw-mediainfo.cpp 2006-09-23 20:46:57.000000000 +0300 +++ b/dvd+rw-mediainfo.cpp 2021-03-14 10:16:02.533741829 +0200 @@ -621,7 +621,7 @@ if (phys_end>0) phys_end -= phys_start; if (phys_end>0) phys_end += 1; - printf (" %s %u*2KB=%"LLU"\n", + printf (" %s %u*2KB=%" LLU "\n", dvd_dash>=0?"Legacy lead-out at:":"Last border-out at:", phys_end,phys_end*2048LL); @@ -941,14 +941,14 @@ printf(" %s:\t\t%u*%u=",type[formats[8]&3], capacity=formats[4]<<24|formats[5]<<16|formats[6]<<8|formats[7], blocksize); - printf("%"LLU"\n",(unsigned long long)capacity*blocksize); + printf("%" LLU "\n",(unsigned long long)capacity*blocksize); for(i=12;i0) str[l]='\0'; - else str[0]='±',str[1]='\0'; + else str[0]='\xb1',str[1]='\0'; } ~__plusminus() { } operator char*(){ return str; }