threads::shared: fix compiler warning
authorDavid Mitchell <davem@iabyn.com>
Fri, 8 Nov 2013 15:13:23 +0000 (15:13 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 8 Nov 2013 15:13:23 +0000 (15:13 +0000)
commite0707a4ad5fb4738da21729f352b9e3f6660ae1d
treeab43ed84d10b53daee3ee495a77c32827b48fafc
parent763e1748260dd057296e8a37d0ae93fd86ea7933
threads::shared: fix compiler warning

make the file name stored in the lock on debugging builds
be const char* rather than char*, so that passing __FILE__ doesn't give
lots of

    shared.xs:1287:323: warning: deprecated conversion from string
    constant to 'char *' [-Wwrite-strings]
dist/threads-shared/shared.xs