Skip to content

Commit

Permalink
More C consts
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Jun 7, 2024
1 parent 981bb2e commit fc6a919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firedrake/cython/dmcommon.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2553,7 +2553,7 @@ cdef struct CommFacet:
PetscInt global_u, global_v
PetscInt local_facet

cdef int CommFacet_cmp(void *x_, void *y_) noexcept nogil:
cdef int CommFacet_cmp(const void *x_, const void *y_) noexcept nogil:
"""Three-way comparison C function for CommFacet structs."""
cdef:
CommFacet *x = <CommFacet *>x_
Expand Down

0 comments on commit fc6a919

Please sign in to comment.