[riot-notifications] [RIOT-OS/RIOT] credman: change credman_buffer_t::s type to 'const void *' (#12299)

Aiman Ismail notifications at github.com
Tue Sep 24 19:44:37 CEST 2019


### Contribution description

This is a fix to the problem described in [comment](https://github.com/RIOT-OS/RIOT/pull/11943#discussion_r319457043).

### Testing procedure

Building #11943 without this change will produce error:

```
error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
```

With this change, the error is gone.

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/12299

-- Commit Summary --

  * credman: change credman_buffer_t::s type to 'const void *'

-- File Changes --

    M sys/include/net/credman.h (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/12299.patch
https://github.com/RIOT-OS/RIOT/pull/12299.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12299
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190924/289d5aa2/attachment.htm>


More information about the notifications mailing list