summaryrefslogtreecommitdiff
path: root/net-p2p/biglybt/files/biglybt-3.6.0.0-fix-ambiguous.patch
blob: 8464f866570ab1f2f9171576169823239d4c9f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/uis/src/com/biglybt/ui/console/multiuser/commands/UserCommand.java
+++ b/uis/src/com/biglybt/ui/console/multiuser/commands/UserCommand.java
@@ -187,7 +187,7 @@ public class UserCommand extends IConsoleCommand {
 
 			UserProfile profile = new UserProfile(userName, userType);
 			profile.setPassword(password);
-			String defaultSaveDirectory = commandLine.getOptionValue('d', null);
+			String defaultSaveDirectory = commandLine.getOptionValue('d', (String) null);
 			profile.setDefaultSaveDirectory(defaultSaveDirectory);
 
 			getUserManager().addUser(profile);