-
Notifications
You must be signed in to change notification settings - Fork 139
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
Moved micro_args to examples #731
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. But while I was compiling on Windows (to make sure that there was no issue), I saw a warning caused by your previous PR (the pause consumer):
[ 97%] Building C object test/CMakeFiles/testsuite.dir/test.c.obj
test.c
E:\cnats\test\test.c(24331): warning C4307: '*': integral constant overflow
E:\cnats\test\test.c(24346): warning C4307: '*': integral constant overflow
E:\cnats\test\test.c(24350): warning C4307: '*': integral constant overflow
Would you mind making this change?
diff --git a/test/test.c b/test/test.c
index 2bad703d..ffd76631 100644
--- a/test/test.c
+++ b/test/test.c
@@ -24325,7 +24325,7 @@ test_JetStreamMgtConsumers(void)
cfg.Name = "my_name";
cfg.DeliverSubject = "mn.foo";
cfg.FilterSubject = "bar.>";
-#define TIME_20350101 (2051251200L * 1000000000L)
+#define TIME_20350101 ((int64_t)2051251200L * (int64_t)1000000000L)
if (serverVersionAtLeast(2, 11, 0))
{
cfg.PauseUntil = TIME_20350101;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…732) Co-authored-by: levb <[email protected]>
* Moved micro_args to examples * PR feedback: Windows fix in test.c (unrelated)
Cherry-picked for |
Fixes #701