summaryrefslogtreecommitdiff
path: root/fltrimpl.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2005-07-12 04:23:32 +0000
committerweidai <weidai11@users.noreply.github.com>2005-07-12 04:23:32 +0000
commit1db8ea50840eb47f0f7d8f3c30d8e0916932ce90 (patch)
tree4b03760892a97a9bc452ebe8b7793bbebd402ad4 /fltrimpl.h
parent31068bd68590654dc218bbb183a2ca71bb4af08b (diff)
downloadcryptopp-git-1db8ea50840eb47f0f7d8f3c30d8e0916932ce90.tar.gz
port to MSVC .NET 2005 beta 2
Diffstat (limited to 'fltrimpl.h')
-rw-r--r--fltrimpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fltrimpl.h b/fltrimpl.h
index 60c827be..350bc189 100644
--- a/fltrimpl.h
+++ b/fltrimpl.h
@@ -30,7 +30,7 @@
case site: \
statement; \
if (Output(site, output, length, messageEnd, blocking)) \
- return STDMAX(1U, (unsigned int)length-m_inputPosition);\
+ return STDMAX(size_t(1), length-m_inputPosition);\
}
#define FILTER_OUTPUT(site, output, length, messageEnd) \
@@ -44,7 +44,7 @@
case site: \
statement; \
if (OutputModifiable(site, output, length, messageEnd, blocking)) \
- return STDMAX(1U, (unsigned int)length-m_inputPosition);\
+ return STDMAX(size_t(1), length-m_inputPosition);\
}
#define FILTER_OUTPUT_MODIFIABLE(site, output, length, messageEnd) \