summaryrefslogtreecommitdiff
path: root/hscript/key.hh
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/key.hh
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/key.hh')
-rw-r--r--hscript/key.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/hscript/key.hh b/hscript/key.hh
index 786df2d..0a53124 100644
--- a/hscript/key.hh
+++ b/hscript/key.hh
@@ -26,8 +26,8 @@ namespace Keys {
class Key {
protected:
/*! The line number where this Key appeared. */
- int line;
- Key(int _line) : line(_line) {}
+ long line;
+ Key(long _line) : line(_line) {}
public:
virtual ~Key();
@@ -56,7 +56,7 @@ public:
*/
virtual bool execute(ScriptOptions) const = 0;
- int lineno() const { return this->line; }
+ long lineno() const { return this->line; }
};