Skip to content

Commit

Permalink
Fix compile error on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Aug 30, 2024
1 parent 0844d3e commit 81735ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/_flight.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ cdef class FlightEndpoint(_Weakrefable):
self.endpoint.locations.push_back(c_location)

if expiration_time is not None:
self.endpoint.expiration_time = TimePoint_from_ns(
self.endpoint.expiration_time = <CTimePoint>TimePoint_from_ns(
expiration_time.cast(timestamp("ns")).value)

self.endpoint.app_metadata = tobytes(app_metadata)
Expand Down

0 comments on commit 81735ea

Please sign in to comment.