From c8a8370636445cc3aa8dfd8d46ad88290928974d Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 23 Jan 2009 14:28:44 +0000 Subject: [PATCH] Remove the comment about needing to add overflow checking Fixes #24 In that, it is the last patch in a series that fixed the lack of overflow checking in all the integer operations. --- support/tock_support.h | 1 - 1 file changed, 1 deletion(-) diff --git a/support/tock_support.h b/support/tock_support.h index 0d99cc1..8346064 100644 --- a/support/tock_support.h +++ b/support/tock_support.h @@ -121,7 +121,6 @@ static inline int occam_check_retype (int src, int dest, const char *pos) { #define __MIN(type) ((type)-1 < 1?__MIN_SIGNED(type):(type)0) #define __MAX(type) ((type)~__MIN(type)) -// FIXME All of these need to check for overflow and report errors appropriately. #define MAKE_ADD(type) \ static inline type occam_add_##type (type, type, const char *) occam_unused; \ static inline type occam_add_##type (type a, type b, const char *pos) { \