Reacted on warnings on a 64 bit system
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
or
|
||||
|
||||
cc -g -DXorriso_with_maiN -DXorriso_with_regeX -DXorriso_with_readlinE \
|
||||
-DXorriso_build_timestamP='"'"$(date -u '+%Y.%m.%d.%H%M%S')"'"' \
|
||||
-Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
|
||||
-o test/xorriso \
|
||||
test/xorriso.c test/xorrisoburn.c \
|
||||
@@ -14,6 +15,7 @@ or
|
||||
or
|
||||
|
||||
cc -g -DXorriso_with_regeX -DXorriso_with_readlinE \
|
||||
-DXorriso_build_timestamP='"'"$(date -u '+%Y.%m.%d.%H%M%S')"'"' \
|
||||
-Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
|
||||
-c \
|
||||
test/xorriso.c test/xorrisoburn.c
|
||||
@@ -4011,7 +4013,7 @@ int Xorriso_option_cdi(struct XorrisO *xorriso, char *iso_rr_path, int flag)
|
||||
|
||||
if (strlen(iso_rr_path)>sizeof(xorriso->wdi)) {
|
||||
sprintf(xorriso->info_text,"-cdi: iso_rr_path too long (%d > %d)",
|
||||
strlen(iso_rr_path), sizeof(xorriso->wdi)-1);
|
||||
(int) strlen(iso_rr_path), (int) sizeof(xorriso->wdi)-1);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
||||
return(0);
|
||||
}
|
||||
@@ -4064,7 +4066,7 @@ int Xorriso_option_cdx(struct XorrisO *xorriso, char *disk_path, int flag)
|
||||
|
||||
if (strlen(disk_path)>sizeof(xorriso->wdx)) {
|
||||
sprintf(xorriso->info_text,"-cdx: disk_path too long (%d > %d)",
|
||||
strlen(disk_path), sizeof(xorriso->wdx)-1);
|
||||
(int) strlen(disk_path), (int) sizeof(xorriso->wdx)-1);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
||||
return(0);
|
||||
}
|
||||
@@ -5394,7 +5396,7 @@ int Xorriso_option_prog(struct XorrisO *xorriso, char *name, int flag)
|
||||
if(strlen(name)>=sizeof(xorriso->progname)) {
|
||||
sprintf(xorriso->info_text,
|
||||
"Name too long with option -prog (%d > %d)",
|
||||
strlen(name), sizeof(xorriso->progname)-1);
|
||||
(int) strlen(name), (int) sizeof(xorriso->progname)-1);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
||||
return(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user