Bug 92383

Summary: egg/egg-asn1x.c:2222: bad function call ?
Product: p11-glue Reporter: dcb314
Component: p11-kitAssignee: Stef Walter <stefw>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description dcb314 2015-10-10 12:08:35 UTC
egg/egg-asn1x.c:2222:31: warning: ordered comparison of pointer with integer zero [-Wextra]

        *value = timegm (when);
        g_return_val_if_fail (*time >= 0, FALSE);

Maybe

        *value = timegm (when);
        g_return_val_if_fail (*value >= 0, FALSE);
Comment 1 Stef Walter 2015-10-19 09:33:55 UTC
Is this the wrong bugzilla? This file doesn't exist in p11-kit.
Comment 2 Stef Walter 2015-10-19 09:36:26 UTC
I found this code in gnome-keyring and gcr projects. Made the appropriate changes there. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.