mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 02:50:30 +01:00
core: correct TIMESTAMP type; fixes potential crash when time() is 32bit
The Crash appeared on some platforms in glib while processing variable arguments.
This commit is contained in:
parent
5c9e82d17b
commit
4b022ed32b
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ constructor (GType type,
|
|||
NM_SETTING_CONNECTION_AUTOCONNECT, TRUE,
|
||||
NM_SETTING_CONNECTION_UUID, uuid,
|
||||
NM_SETTING_CONNECTION_READ_ONLY, priv->read_only,
|
||||
NM_SETTING_CONNECTION_TIMESTAMP, time (NULL),
|
||||
NM_SETTING_CONNECTION_TIMESTAMP, (guint64) time (NULL),
|
||||
NULL);
|
||||
|
||||
g_free (id);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue