Skip to content

Fix printf warnings on Windows#831

Merged
saghul merged 1 commit intomasterfrom
fix-printf-warnings
Jan 18, 2025
Merged

Fix printf warnings on Windows#831
saghul merged 1 commit intomasterfrom
fix-printf-warnings

Conversation

@saghul
Copy link
Copy Markdown
Contributor

@saghul saghul commented Jan 17, 2025

D:\a\quickjs\quickjs\quickjs.c(1439,20): warning C4777: 'printf' : format string '%llu' requires an argument of type 'unsigned __int64', but variadic argument 1 has type 'size_t' [D:\a\quickjs\quickjs\build\qjs.vcxproj]
      D:\a\quickjs\quickjs\quickjs.c(1439,20):
      the sizes of types 'size_t' and 'unsigned __int64' might differ on other platforms
      D:\a\quickjs\quickjs\quickjs.c(1439,20):
      consider using '%zu' in the format string

~~~
D:\a\quickjs\quickjs\quickjs.c(1439,20): warning C4777: 'printf' : format string '%llu' requires an argument of type 'unsigned __int64', but variadic argument 1 has type 'size_t' [D:\a\quickjs\quickjs\build\qjs.vcxproj]
      D:\a\quickjs\quickjs\quickjs.c(1439,20):
      the sizes of types 'size_t' and 'unsigned __int64' might differ on other platforms
      D:\a\quickjs\quickjs\quickjs.c(1439,20):
      consider using '%zu' in the format string
~~~
@saghul saghul merged commit c5a47b4 into master Jan 18, 2025
@saghul saghul deleted the fix-printf-warnings branch January 18, 2025 07:13
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