mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-12 22:18:19 -04:00
Fix compilation
This commit is contained in:
1 parent
14c28715d8
commit
face73ad7e
1 file changed
+1
-1
+1
-1
@@ -53,7 +53,7 @@ User::User(const MYSQL_ROW &dbrow) {
|
||||
id = atoi(dbrow[index++]);
|
||||
strncpy(username, dbrow[index++], sizeof(username)-1);
|
||||
strncpy(password, dbrow[index++], sizeof(password)-1);
|
||||
enabled = static_cast<bool>atoi(dbrow[index++]);
|
||||
enabled = static_cast<bool>(atoi(dbrow[index++]));
|
||||
stream = (Permission)atoi(dbrow[index++]);
|
||||
events = (Permission)atoi(dbrow[index++]);
|
||||
control = (Permission)atoi(dbrow[index++]);
|
||||
|
||||
Reference in new issue
Block a user