Skip to content

Commit

Permalink
Fix minor const issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcnamara committed Aug 8, 2021
1 parent 4234499 commit f5bdcb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/worksheet.c
Original file line number Diff line number Diff line change
Expand Up @@ -4537,7 +4537,7 @@ _worksheet_write_col_breaks(lxw_worksheet *self)
* Write the <filter> element.
*/
STATIC void
_worksheet_write_filter(lxw_worksheet *self, char *str, double num,
_worksheet_write_filter(lxw_worksheet *self, const char *str, double num,
uint8_t operator)
{
struct xml_attribute_list attributes;
Expand Down Expand Up @@ -4604,7 +4604,7 @@ _worksheet_write_filter_standard(lxw_worksheet *self,
* Write the <customFilter> element.
*/
STATIC void
_worksheet_write_custom_filter(lxw_worksheet *self, char *str, double num,
_worksheet_write_custom_filter(lxw_worksheet *self, const char *str, double num,
uint8_t operator)
{
struct xml_attribute_list attributes;
Expand Down

0 comments on commit f5bdcb3

Please sign in to comment.