summaryrefslogtreecommitdiff
path: root/hscript/script.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/script.cc')
-rw-r--r--hscript/script.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/script.cc b/hscript/script.cc
index 5849296..3815d1c 100644
--- a/hscript/script.cc
+++ b/hscript/script.cc
@@ -570,7 +570,7 @@ int validate_one_account(const std::string &name, UserDetail *detail,
/* REQ: Runner.Validate.userpw.None */
if(!detail->passphrase) {
- int line = detail->name->lineno();
+ long line = detail->name->lineno();
output_warning("installfile:" + std::to_string(line),
"username: " + name + " has no set passphrase",
"This account will not be able to log in.");