X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device-src%2Factivate-devpay.c;h=9563071d70d78fd10e3fd4a4697b8c779b24dc99;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=196834d6cf03b1f20e32b8886ea7bd24bfa58faf;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;p=debian%2Famanda diff --git a/device-src/activate-devpay.c b/device-src/activate-devpay.c index 196834d..9563071 100644 --- a/device-src/activate-devpay.c +++ b/device-src/activate-devpay.c @@ -13,10 +13,6 @@ #include "base64.h" #include "s3.h" -#ifndef WANT_DEVPAY -# error activate_devpay only works if devpay is enabled. -#endif - #define MAX_RESPONSE_SIZE (1024*1024) typedef struct { @@ -147,7 +143,7 @@ static void parser_got_text(GMarkupParseContext * context, /* Do nothing; wait for the message. */ } } else if (g_strrstr(current_tag, "Message")) { - g_set_error(error, G_MARKUP_ERROR, -1, "%.*s", text_len, text); + g_set_error(error, G_MARKUP_ERROR, -1, "%.*s", (int)text_len, text); } }