Skip to content

use of int for flamegpu::id_t #31

Description

@ptheywood

In multiple locations, the custom "id" variable which is defined as message.newVariableID("id") is accessed with methods using <int> rather than <flamegpu::id_t>.

This should be a type mismatch (4 byte unsigned vs 4 byte signed)? but doesn't appear to be caught at runtime in device code, atleast not in pyflamegpu.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions