diff options
Diffstat (limited to 'tool/enc-unicode.rb')
-rwxr-xr-x | tool/enc-unicode.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/enc-unicode.rb b/tool/enc-unicode.rb index d82f1dbdd1..222573b3a8 100755 --- a/tool/enc-unicode.rb +++ b/tool/enc-unicode.rb @@ -539,6 +539,7 @@ if header f.each {|line| line.gsub!(/\(int\)\((?:long|size_t)\)&\(\(struct uniname2ctype_pool_t \*\)0\)->uniname2ctype_pool_(str\d+),\s+/, 'uniname2ctype_offset(\1), ') + line.sub!(/^(uniname2ctype_(hash|p) *\(.* )size_t /, '\1unsigned int ') puts line } } |