mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
java: Fix >= 32 optargs (thanks Wanlong Gao).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user