X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libringbuffer%2Fbackend.h;fp=libringbuffer%2Fbackend.h;h=bced86d96885950e4842a7c394508e86960a978c;hb=b4c8bf2f2320b7a2d19dec6addda5d6d2aa227a3;hp=4ecbfe53886a28bb36a2b6c46eeea59702a84a18;hpb=b6cd40337647f5a01c24b155c7808a856cd8c377;p=lttng-ust.git diff --git a/libringbuffer/backend.h b/libringbuffer/backend.h index 4ecbfe53..bced86d9 100644 --- a/libringbuffer/backend.h +++ b/libringbuffer/backend.h @@ -137,7 +137,7 @@ size_t lib_ring_buffer_do_strcpy(const struct lttng_ust_lib_ring_buffer_config * static inline __attribute__((always_inline)) void lib_ring_buffer_strcpy(const struct lttng_ust_lib_ring_buffer_config *config, struct lttng_ust_lib_ring_buffer_ctx *ctx, - const char *src, size_t len, int pad) + const char *src, size_t len, char pad) { struct channel_backend *chanb = &ctx->chan->backend; struct lttng_ust_shm_handle *handle = ctx->handle;