Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8096207

[Mac] Fix compiler type cast warnings on GLContext.c

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u60
    • 8u40
    • javafx
    • None

      /Users/ckyang/java/javafx/8udev/jfx/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:2322:29: warning: cast to 'const void *' from smaller integer type 'GLuint' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                  VERT_3D_STRIDE, (const void*) offset);
                                  ^
      /Users/ckyang/java/javafx/8udev/jfx/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:2325:29: warning: cast to 'const void *' from smaller integer type 'GLuint' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                  VERT_3D_STRIDE, (const void*) offset);
                                  ^
      /Users/ckyang/java/javafx/8udev/jfx/rt/modules/graphics/src/main/native-prism-es2/GLContext.c:2328:29: warning: cast to 'const void *' from smaller integer type 'GLuint' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
                  VERT_3D_STRIDE, (const void*) offset);
                                  ^
      3 warnings generated.

            ckyang Chien Yang (Inactive)
            ckyang Chien Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: