diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2010-11-23 19:06:58 +0100 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2010-11-23 19:06:58 +0100 |
commit | 4b022ed32bb3d729fd21d2e33483fda03c6a6333 (patch) | |
tree | 50ad9a2424ca8fe739bc96f59ba9450e9e92f7c6 | |
parent | 5c9e82d17b936c17eae16b4cb37497e68054470f (diff) |
core: correct TIMESTAMP type; fixes potential crash when time() is 32bit
The Crash appeared on some platforms in glib while processing variable
arguments.
-rw-r--r-- | src/system-settings/nm-default-wired-connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system-settings/nm-default-wired-connection.c b/src/system-settings/nm-default-wired-connection.c index 1cda3d9e23..0d19dea014 100644 --- a/src/system-settings/nm-default-wired-connection.c +++ b/src/system-settings/nm-default-wired-connection.c @@ -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); |