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

Kaspar Schleiser notifications at github.com
Tue Dec 12 10:18:02 CET 2017


kaspar030 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) <

ok

-- 
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/8233#discussion_r156307761
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20171212/3e1bb31b/attachment.html>


More information about the notifications mailing list