[riot-notifications] [RIOT-OS/RIOT] cpu/sam0_common: fix assert in periph/flashpage (#8233)

Dylan Laduranty notifications at github.com
Tue Dec 12 08:58:47 CET 2017

dylad commented on this pull request.

> @@ -68,7 +68,7 @@ void flashpage_write_raw(void *target_addr, void *data, size_t len)
             ((unsigned)data % FLASHPAGE_RAW_ALIGNMENT)));
     /* ensure the length doesn't exceed the actual flash size */
-    assert(((uint8_t*)target_addr + len) <
+    assert(((unsigned)target_addr + len) <

Well, this is another possibility.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20171212/d11b1415/attachment.html>

More information about the notifications mailing list