diff --git a/libisoburn/isoburn.c b/libisoburn/isoburn.c index edafb1dc..d532ff11 100644 --- a/libisoburn/isoburn.c +++ b/libisoburn/isoburn.c @@ -365,7 +365,8 @@ int isoburn_adjust_target_iso_head(struct isoburn *o, uint8_t *new_buf; uint32_t new_size; - if(o->target_iso_head_size == Libisoburn_target_head_sizE + 2048 * offst) + if((uint32_t) o->target_iso_head_size == + Libisoburn_target_head_sizE + 2048 * offst) return(1); new_size= Libisoburn_target_head_sizE + 2048 * offst; new_buf= calloc(1, new_size); @@ -375,7 +376,8 @@ int isoburn_adjust_target_iso_head(struct isoburn *o, return(-1); } memcpy(new_buf, o->target_iso_head, - o->target_iso_head_size < new_size ? o->target_iso_head_size : new_size); + (uint32_t) o->target_iso_head_size < new_size ? + (uint32_t) o->target_iso_head_size : new_size); free(o->target_iso_head); o->target_iso_head= new_buf; o->target_iso_head_size= new_size; diff --git a/libisoburn/isofs_wrap.c b/libisoburn/isofs_wrap.c index d19da786..cb8c319c 100644 --- a/libisoburn/isofs_wrap.c +++ b/libisoburn/isofs_wrap.c @@ -429,7 +429,7 @@ static int isoburn_inspect_partition(struct isoburn *o, uint32_t img_size, o->loaded_partition_offset= offst; /* If the partition start is too large: Report but do not accept. */ - if(offst > max_offst) { /* Not more than 1 MB of .target_iso_head */ + if(offst > (uint32_t) max_offst) {/* Not more than 1 MB of .target_iso_head */ sprintf(msg, "Detected partition offset of %.f blocks. Maximum for load buffer is %d", (double) offst, max_offst); diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 221060f5..74a5962a 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.05.09.181239" +#define Xorriso_timestamP "2011.05.09.181449"