summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/meta-normalize-stdio4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/meta-normalize-stdio b/bin/meta-normalize-stdio
index ac5d51a..69d9ad6 100755
--- a/bin/meta-normalize-stdio
+++ b/bin/meta-normalize-stdio
@@ -113,8 +113,8 @@ end
# Specific validators/formatters
year = lambda {|name, num|
- if !num.is_a?(Fixnum)
- error "`#{name}' must be a year"
+ if !num.is_a?(Integer)
+ error "`#{name}' must be an integer year"
else
if (num < 1900 || num > 3000)
error "`#{name}' is a number, but doesn't look like a year"