Re: [PTACH] libcacard: fix VCARD_ATTR_PREFIX macro

2012-03-19 Thread Marcel Heinz
Hi, Alon Levy al...@redhat.com wrote: Thanks for the patch, but I think you are using a not up to date tree, it's fixed by: commit 0202181245297a9e847c05f4a18623219d95e93e Author: Hans de Goede hdego...@redhat.com Date: Fri Mar 2 16:49:44 2012 +0100 libcacard: Fix compilation with

[PTACH] libcacard: fix VCARD_ATTR_PREFIX macro

2012-03-18 Thread Marcel Heinz
Hi, i just tried to compile lastest git HEAD and ran into the following problem: vcard_emul_nss.c:528:1: error: initializer element is not constant The source code is: static const unsigned char nss_atr[] = { VCARD_ATR_PREFIX(3), 'N', 'S', 'S' }; with #define VCARD_ATR_PREFIX(size) (0x3b,

Re: [PTACH] libcacard: fix VCARD_ATTR_PREFIX macro

2012-03-18 Thread Alon Levy
On Sun, Mar 18, 2012 at 06:41:18PM +0100, Marcel Heinz wrote: Hi, Thanks for the patch, but I think you are using a not up to date tree, it's fixed by: commit 0202181245297a9e847c05f4a18623219d95e93e Author: Hans de Goede hdego...@redhat.com Date: Fri Mar 2 16:49:44 2012 +0100