From a9b88e0c1bf09c3d747df16a980926c89eea92e5 Mon Sep 17 00:00:00 2001 From: Dewey Dunnington Date: Mon, 15 Jan 2024 10:39:18 -0400 Subject: [PATCH] fix compiler warning --- python/src/nanoarrow/_lib.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/nanoarrow/_lib.pyx b/python/src/nanoarrow/_lib.pyx index f77067c93..7586515d2 100644 --- a/python/src/nanoarrow/_lib.pyx +++ b/python/src/nanoarrow/_lib.pyx @@ -915,7 +915,7 @@ cdef class CBufferView: if format_const != NULL: snprintf(self._format, sizeof(self._format), "%s", format_const) else: - snprintf(self._format, sizeof(self._format), "%ds", self._element_size_bits // 8) + snprintf(self._format, sizeof(self._format), "%ds", self._element_size_bits // 8) def __getbuffer__(self, Py_buffer *buffer, int flags): if self._device.device_type != ARROW_DEVICE_CPU: