aboutsummaryrefslogtreecommitdiffstats
path: root/tool/file2lastrev.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/file2lastrev.rb')
-rw-r--r--tool/file2lastrev.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb
index ea11304703..ddc83e8631 100644
--- a/tool/file2lastrev.rb
+++ b/tool/file2lastrev.rb
@@ -82,7 +82,7 @@ case $output
when :changed, nil
puts changed
when :revision_h
- puts "#define RUBY_REVISION #{changed}"
+ puts "#define RUBY_REVISION #{changed.to_i}"
when :doxygen
puts "r#{changed}/r#{last}"
else