[ntop/ntopng] 8a8a01: Replace lua_pushnumber with lua_pushinteger where ...

emanuele-f <[email protected]>
Newsgroups gmane.linux.ntop.devel
Message-ID <5bfffa3eb6bdd_43052abeaf676590763e9@hookshot-fe-ea85c4b.cp1-iad.github.net.mail>
  Branch: refs/heads/dev
  Home:   https://github.com/ntop/ntopng
  Commit: 8a8a016283c8d7a5ae07774e628f4465a3360e0c
      https://github.com/ntop/ntopng/commit/8a8a016283c8d7a5ae07774e628f4465a3360e0c
  Author: emanuele-f <[email protected]>
  Date:   2018-11-29 (Thu, 29 Nov 2018)

  Changed paths:
    M src/AlertsManager.cpp
    M src/AutonomousSystem.cpp
    M src/LuaEngine.cpp
    M src/MySQLDB.cpp
    M src/NetworkInterface.cpp
    M src/TimelineExtract.cpp
    M src/Vlan.cpp

  Log Message:
  -----------
  Replace lua_pushnumber with lua_pushinteger where necessary.

Lua 5.3 now supports 64bit integers. Using a number instead of an integer can cause problems since
tostring adds the decimal dot:
	- Lua 5.2: tostring(5.0) = "5"
	- Lua 5.3: tostring(5.0) = "5.0"



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.