Skip to content

Commit

Permalink
Cast to const
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 11, 2014
1 parent 2e383b3 commit 7781fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_expr/rlm_expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ static ssize_t hex_to_bin_xlat(UNUSED void *instance, UNUSED REQUEST *request,

if ((p[0] != '0') && (p[1] != 'x')) return -1;

return fr_hex2bin((uint8_t *) out, (char *) p + 2, outlen);
return fr_hex2bin((uint8_t *) out, (char const *) p + 2, outlen);
}

/**
Expand Down

0 comments on commit 7781fef

Please sign in to comment.