master/mailbox.c
branchstable-1.5
changeset 2488 c0b4c64fcebd
parent 1921 d9cf40facbc4
--- a/master/mailbox.c	Thu Dec 06 18:43:56 2012 +0100
+++ b/master/mailbox.c	Fri Dec 07 19:51:55 2012 +0100
@@ -163,7 +163,7 @@
  * \return Pointer to the received data, or ERR_PTR() code.
  */
 uint8_t *ec_slave_mbox_fetch(const ec_slave_t *slave, /**< slave */
-                             ec_datagram_t *datagram, /**< datagram */
+                             const ec_datagram_t *datagram, /**< datagram */
                              uint8_t *type, /**< expected mailbox protocol */
                              size_t *size /**< size of the received data */
                              )