Parcourir la source

Squashed warning

Sergey Lyubka il y a 12 ans
Parent
commit
e47b5b775a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      mongoose.c

+ 1 - 1
mongoose.c

@@ -5192,7 +5192,7 @@ struct mg_context *mg_start(const struct mg_callbacks *callbacks,
   // Start worker threads
   for (i = 0; i < atoi(ctx->config[NUM_THREADS]); i++) {
     if (mg_start_thread(worker_thread, ctx) != 0) {
-      cry(fc(ctx), "Cannot start worker thread: %ld", ERRNO);
+      cry(fc(ctx), "Cannot start worker thread: %ld", (long) ERRNO);
     } else {
       ctx->num_threads++;
     }