java: Fix >= 32 optargs (thanks Wanlong Gao).

This commit is contained in:
Richard W.M. Jones
2012-09-03 09:35:56 +01:00
parent d331fd70e2
commit f65dee769d

View File

@@ -152,7 +152,7 @@ public class GuestFS {
pr " _optobj = optargs.get (\"%s\");\n" n;
pr " if (_optobj != null) {\n";
pr " %s = ((%s) _optobj)%s;\n" n boxed_t convert;
pr " _optargs_bitmask |= %Ld;\n"
pr " _optargs_bitmask |= %LdL;\n"
(Int64.shift_left Int64.one i);
pr " }\n";
) optargs