From: batt Date: Wed, 2 Sep 2009 18:06:08 +0000 (+0000) Subject: Fix warning on architectures with longer integers. X-Git-Tag: 2.2.0~98 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=7d7882d05d70560c3aa9e6c6fad48bd323ff2a82;p=bertos.git Fix warning on architectures with longer integers. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2870 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/dt/dnotifier.h b/bertos/dt/dnotifier.h index 3822df59..4b4ef1bf 100644 --- a/bertos/dt/dnotifier.h +++ b/bertos/dt/dnotifier.h @@ -99,7 +99,7 @@ typedef struct DFilter } DFilter; /// Type for filter-mask checking -typedef uint16_t dfilter_mask_t; +typedef unsigned int dfilter_mask_t; /// Filter init void filter_init(DFilter *f, const DFilterMap *map, bool masked, DNotifier *source, DNotifier *target);