Commit 4f88a849 authored by Philip Carns's avatar Philip Carns
Browse files

fix eventual usage in example server

parent 3d793cff
......@@ -21,7 +21,7 @@ int main(int argc, char **argv)
{
int ret;
ABT_eventual eventual;
int shutdown;
int *shutdown;
ret = ABT_init(argc, argv);
if(ret != 0)
......@@ -44,7 +44,7 @@ int main(int argc, char **argv)
my_rpc_register();
/* suspend this ULT until someone tells us to shut down */
ret = ABT_eventual_create(sizeof(shutdown), &eventual);
ret = ABT_eventual_create(sizeof(*shutdown), &eventual);
if(ret != 0)
{
fprintf(stderr, "Error: ABT_eventual_create()\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment