summaryrefslogtreecommitdiff
path: root/hscript/script.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-28 09:24:13 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-28 09:24:13 -0500
commit84b7e98b805b86e4d63e2ce38a490e86541ed0da (patch)
tree1de28d332cb63886a4d9b2e674a8bff453d13f75 /hscript/script.cc
parent50d5571b30e05d852ef219ba5d9bf64c12b4e9f0 (diff)
downloadhorizon-84b7e98b805b86e4d63e2ce38a490e86541ed0da.tar.gz
horizon-84b7e98b805b86e4d63e2ce38a490e86541ed0da.tar.bz2
horizon-84b7e98b805b86e4d63e2ce38a490e86541ed0da.tar.xz
horizon-84b7e98b805b86e4d63e2ce38a490e86541ed0da.zip
hscript: Make line a long for alignment
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.");