~brianaker/gearmand/734663

« back to all changes in this revision

Viewing changes to tests/test_gearmand.c

  • Committer: Brian Aker
  • Date: 2011-02-22 03:13:45 UTC
  • Revision ID: brian@tangent.org-20110222031345-zfxiq7fajzb77nej
A few cleanups from ICC.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
      perror("mkstemp");
131
131
      abort();
132
132
    }
133
 
    snprintf(buffer_ptr, sizeof(buffer), "./gearmand/gearmand --pid-file=%s --daemon --port=%u", file_buffer, port);
 
133
    snprintf(buffer_ptr, sizeof(buffer), "./gearmand/gearmand --pid-file=%s --daemon --port=%u", file_buffer, (uint32_t)port);
134
134
    buffer_ptr+= strlen(buffer_ptr);
135
135
  }
136
136
 
187
187
 
188
188
  if (gearmand_pid == -1)
189
189
  {
190
 
    fprintf(stderr, "Could not attach to gearman server, could server already be running on port %u\n", port);
 
190
    fprintf(stderr, "Could not attach to gearman server, could server already be running on port %u\n", (uint32_t)port);
191
191
    abort();
192
192
  }
193
193