]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/sys/refcount.h
OpenZFS 8081 - Compiler warnings in zdb
[mirror_zfs.git] / include / sys / refcount.h
index a96220b29ad05974e49f5a622e42c64810f824fb..02002ec2ffd84b34461971491c7201dddac7dd66 100644 (file)
@@ -39,7 +39,7 @@ extern "C" {
  * particular object, use FTAG (which is a string) for the holder_tag.
  * Otherwise, use the object that holds the reference.
  */
-#define        FTAG ((char *)__func__)
+#define        FTAG ((char *)(uintptr_t)__func__)
 
 /*
  * Starting with 4.11, torvalds/linux@f405df5, the linux kernel defines a