diff --git a/android/gatt.c b/android/gatt.c
index e8ba5aa..89fcdb1 100644
--- a/android/gatt.c
+++ b/android/gatt.c
notification = new0(struct notification_data, 1);
+_Pragma("GCC diagnostic push")
+_Pragma("GCC diagnostic ignored \"-Warray-bounds\"")
+_Pragma("GCC diagnostic ignored \"-Wstringop-overflow\"")
memcpy(¬ification->ch, &cmd->char_id, sizeof(notification->ch));
+_Pragma("GCC diagnostic pop")
memcpy(¬ification->service, &cmd->srvc_id,
sizeof(notification->service));
notification->conn = conn;