The error in question is:

Error while compiling: LootLogs.cs(138,57): error CS1503: Argument `#1' cannot convert `ItemId' expression to type `uint'