Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xlators/cluster/afr/src/afr-inode-write.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ afr_arbiter_writev_wind(call_frame_t *frame, xlator_t *this, int subvol)
{
afr_local_t *local = frame->local;
afr_private_t *priv = this->private;
static char byte = 0xFF;
static unsigned char byte = 0xFF;
static struct iovec vector = {&byte, 1};
int32_t count = 1;

Expand Down
4 changes: 2 additions & 2 deletions xlators/features/compress/src/cdc-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
* gzip_header is added only during debugging.
* Refer to the function cdc_dump_iovec_to_disk
*/
static const char gzip_header[10] = {'\037', '\213', Z_DEFLATED, 0, 0, 0, 0,
0, 0, GF_CDC_OS_ID};
static const unsigned char gzip_header[10] = {
'\037', '\213', Z_DEFLATED, 0, 0, 0, 0, 0, 0, GF_CDC_OS_ID};

static int32_t
cdc_next_iovec(cdc_info_t *ci)
Expand Down