Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeSync: Portable way to print 64bit time_t #631

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

kraj
Copy link

@kraj kraj commented Jan 3, 2023

This ensures when 64bit time_t is used on 32bit architectures ( -D_TIME_BITS=64 ) then it can print it correctly as well.

Fixes
pllLinux.c:43:20: error: format specifies type 'long' but the argument has type 'long long' [-Werror,-Wformat]
| prefix, tx->offset, tx->freq, tx->maxerror, tx->esterror,
| ^~~~~~~~~~

Signed-off-by: Khem Raj raj.khem@gmail.com

@vmwclabot
Copy link
Member

@kraj, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

This ensures when 64bit time_t is used on 32bit architectures (
-D_TIME_BITS=64 ) then it can print it correctly as well.

Fixes
pllLinux.c:43:20: error: format specifies type 'long' but the argument has type 'long long' [-Werror,-Wformat]
|            prefix, tx->offset, tx->freq, tx->maxerror, tx->esterror,
|                    ^~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
@vmwclabot
Copy link
Member

@kraj, we have received your signed contributor license agreement. It will be reviewed by VMware shortly. Another comment will be added to the pull request to notify you when the merge can proceed.

@vmwclabot
Copy link
Member

@kraj, VMware has approved your signed contributor license agreement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants