You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2015/01/09 17:50:07 UTC
qpid-proton git commit: PROTON-794: Visual Studio 2008 fails to
convert void* to enum.
Repository: qpid-proton
Updated Branches:
refs/heads/master 93f296fce -> efa5eab5f
PROTON-794: Visual Studio 2008 fails to convert void* to enum.
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/efa5eab5
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/efa5eab5
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/efa5eab5
Branch: refs/heads/master
Commit: efa5eab5f4ffb504fca8da36f4d05f9732627f1b
Parents: 93f296f
Author: Chuck Rolke <ch...@redhat.com>
Authored: Fri Jan 9 11:48:20 2015 -0500
Committer: Chuck Rolke <ch...@redhat.com>
Committed: Fri Jan 9 11:48:20 2015 -0500
----------------------------------------------------------------------
proton-c/src/tests/reactor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/efa5eab5/proton-c/src/tests/reactor.c
----------------------------------------------------------------------
diff --git a/proton-c/src/tests/reactor.c b/proton-c/src/tests/reactor.c
index e15bed6..36a2686 100644
--- a/proton-c/src/tests/reactor.c
+++ b/proton-c/src/tests/reactor.c
@@ -77,7 +77,7 @@ void expect(pn_list_t *events, ...) {
break;
}
assert(idx < pn_list_size(events));
- pn_event_type_t actual = (pn_event_type_t) pn_list_get(events, idx++);
+ pn_event_type_t actual = (pn_event_type_t)(size_t) pn_list_get(events, idx++);
assert(expected == actual);
}
va_end(ap);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org