diff options
-rw-r--r-- | security/snoopy/files/patch-src-datasource-tid.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/snoopy/files/patch-src-datasource-tid.c b/security/snoopy/files/patch-src-datasource-tid.c new file mode 100644 index 000000000000..240a9dc72e93 --- /dev/null +++ b/security/snoopy/files/patch-src-datasource-tid.c @@ -0,0 +1,11 @@ +--- src/datasource/tid.c.orig 2021-04-20 15:35:54 UTC ++++ src/datasource/tid.c +@@ -49,7 +49,7 @@ + */ + int snoopy_datasource_tid (char * const result, char const * const arg) + { +- long unsigned int tid = pthread_self(); ++ long unsigned int tid = (long unsigned int) pthread_self(); + + // This happens if -lpthread is not given to compiler + if (0 == tid) { |